@wordpress/dependency-extraction-webpack-plugin 4.19.0 → 4.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/index.js +0 -10
  2. package/package.json +2 -2
package/lib/index.js CHANGED
@@ -27,7 +27,6 @@ class DependencyExtractionWebpackPlugin {
27
27
  combinedOutputFile: null,
28
28
  externalizedReport: false,
29
29
  injectPolyfill: false,
30
- __experimentalInjectInteractivityRuntime: false,
31
30
  outputFormat: 'php',
32
31
  outputFilename: null,
33
32
  useDefaults: true,
@@ -143,7 +142,6 @@ class DependencyExtractionWebpackPlugin {
143
142
  combinedOutputFile,
144
143
  externalizedReport,
145
144
  injectPolyfill,
146
- __experimentalInjectInteractivityRuntime,
147
145
  outputFormat,
148
146
  outputFilename,
149
147
  } = this.options;
@@ -186,14 +184,6 @@ class DependencyExtractionWebpackPlugin {
186
184
  if ( injectPolyfill ) {
187
185
  chunkDeps.add( 'wp-polyfill' );
188
186
  }
189
- // Temporary fix for Interactivity API until it gets moved to its package.
190
- if ( __experimentalInjectInteractivityRuntime ) {
191
- if ( ! chunkJSFile.startsWith( './interactivity/' ) ) {
192
- chunkDeps.add( 'wp-interactivity-runtime' );
193
- } else if ( './interactivity/runtime.min.js' === chunkJSFile ) {
194
- chunkDeps.add( 'wp-interactivity-vendors' );
195
- }
196
- }
197
187
 
198
188
  const processModule = ( { userRequest } ) => {
199
189
  if ( this.externalizedDeps.has( userRequest ) ) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/dependency-extraction-webpack-plugin",
3
- "version": "4.19.0",
3
+ "version": "4.21.0",
4
4
  "description": "Extract WordPress script dependencies from webpack bundles.",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -38,5 +38,5 @@
38
38
  "publishConfig": {
39
39
  "access": "public"
40
40
  },
41
- "gitHead": "d47d8069e1aae05d4a16dc287902eb90edcbff50"
41
+ "gitHead": "6f14d11ed4cb59df110a28ebaa23ecba95eb673a"
42
42
  }