mirror of
git://develop.git.wordpress.org/
synced 2025-01-17 12:58:25 +01:00
Script Loader: Disable injectPolyfill
flag in webpack config.
This is a follow-up to [57981] to ensure that `wp-polyfill` is no longer automatically added as a dependency to package scripts. This avoids unnecessarily loading the polyfill script in places such as the block editor. See #60962. git-svn-id: https://develop.svn.wordpress.org/trunk@58162 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
19faad7744
commit
559e729cc8
File diff suppressed because one or more lines are too long
@ -198,7 +198,7 @@ module.exports = function (
|
||||
plugins: [
|
||||
...baseConfig.plugins,
|
||||
new DependencyExtractionPlugin( {
|
||||
injectPolyfill: true,
|
||||
injectPolyfill: false,
|
||||
combineAssets: true,
|
||||
combinedOutputFile: `../../assets/script-loader-packages${ suffix }.php`,
|
||||
} ),
|
||||
|
Loading…
x
Reference in New Issue
Block a user