File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -43,8 +43,11 @@ class AdvancedGroup extends GroupHelper {
4343 // }
4444 // }
4545 resolveOptions ( ) {
46- const { args } = this ;
47- const options = this . opts . options ;
46+ const {
47+ args,
48+ opts : { options } ,
49+ } = this ;
50+
4851 if ( args . hot ) {
4952 const { HotModuleReplacementPlugin } = require ( 'webpack' ) ;
5053 const hotModuleVal = new HotModuleReplacementPlugin ( ) ;
@@ -60,7 +63,8 @@ class AdvancedGroup extends GroupHelper {
6063 if ( options && options . plugins ) {
6164 options . plugins . unshift ( prefetchVal ) ;
6265 } else {
63- options . plugins = [ prefetchVal ] ;
66+ // Currently the Plugin function is not functional -> https://github.com/webpack/webpack-cli/pull/1140#discussion_r376761359
67+ // options.plugins = [prefetchVal];
6468 }
6569 }
6670 if ( args . plugin ) {
You can’t perform that action at this time.
0 commit comments