WordPress.org

Make WordPress Core

Changeset 47352 for trunk/package.json


Ignore:
Timestamp:
02/24/2020 09:20:49 PM (6 months ago)
Author:
azaozz
Message:

Build Tools:

  • Update the DependencyExtractionWebpackPlugin to 2.3.0 and set it to output a single assets file.
  • Grunt: copy the assets file to both SOURCE_DIR and BUILD_DIR as wp-includes/assets/script-loader-packages.php.
  • "Unignore" the wp-includes/assets directory. Its content will be committed similarly to wp-includes/blocks.
  • Update wp_default_packages_scripts() to use the above file. This also removes the hard-coded lists of packages and packages with translations.

Props gziolo, pbearne, johnbillion, isabel_brison, ocean90, azaozz.
Fixes #48154.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package.json

    r47302 r47352  
    2727    "devDependencies": {
    2828        "@wordpress/custom-templated-path-webpack-plugin": "1.6.0",
    29         "@wordpress/dependency-extraction-webpack-plugin": "2.2.0",
     29        "@wordpress/dependency-extraction-webpack-plugin": "2.3.0",
    3030        "@wordpress/e2e-test-utils": "4.3.0",
    3131        "@wordpress/library-export-default-webpack-plugin": "1.6.0",
Note: See TracChangeset for help on using the changeset viewer.