Build Tools: Use the new combinedOutputFile setting for the updated DependencyExtractionWebpackPlugin and output script-loader-packages.php directly in wp-includes/assets/.

Props gziolo, azaozz.
See: #48154.

git-svn-id: https://develop.svn.wordpress.org/trunk@47471 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2020-03-18 04:48:19 +00:00
parent e7022adab2
commit baa9b2d1f0
2 changed files with 3 additions and 7 deletions
+1
View File
@@ -247,6 +247,7 @@ module.exports = function( env = { environment: 'production', watch: false, buil
new DependencyExtractionPlugin( {
injectPolyfill: true,
combineAssets: true,
combinedOutputFile: '../../assets/script-loader-packages.php',
} ),
new CopyWebpackPlugin(
[