Make WordPress Core

Changeset 54289 for trunk/.gitignore


Ignore:
Timestamp:
09/23/2022 08:25:45 AM (4 years ago)
Author:
gziolo
Message:

Build: Improve how combined assets are generated

Allows to revert changes applied in [54277] - temporary workaround for the failing Test NPM CI check on Windows.

Improvements included:

  • generate combined asset files for both production and development
  • store in the repository only the production version of the combined assets for packages, we use everything else only in development
  • to make unit tests work, ensure that they ignore react fast refresh and use the production version of combined assets that are present in the source code

Props bernhard-reiter, jsnajdr, clorith, wildworks.
Fixes #56615.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.gitignore

    r54235 r54289  
    2828/src/wp-admin/css/colors/*/*.css
    2929/src/wp-admin/js
     30/src/wp-includes/assets/*
     31!/src/wp-includes/assets/script-loader-packages.min.php
    3032/src/wp-includes/js
    3133/src/wp-includes/css/dist
Note: See TracChangeset for help on using the changeset viewer.