Skip to content

Commit 88d02bc

Browse files
committed
DependencyExtractionWebpackPlugin: use correct webpack instance.
1 parent 3743f22 commit 88d02bc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/dependency-extraction-webpack-plugin/lib

packages/dependency-extraction-webpack-plugin/lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ class DependencyExtractionWebpackPlugin {
152152
* Offload externalization work to the ExternalsPlugin.
153153
* @type {webpack.ExternalsPlugin}
154154
*/
155-
this.externalsPlugin = new webpack.ExternalsPlugin(
155+
this.externalsPlugin = new compiler.webpack.ExternalsPlugin(
156156
this.useModules ? 'import' : 'window',
157157
this.externalizeWpDeps.bind( this )
158158
);

0 commit comments

Comments
 (0)