Skip to content

Commit 8ddaafe

Browse files
committed
Removing duplicate HotModuleReplacementPlugin()
webpack-contrib/style-loader#18 (comment) We're enforcing that --hot is passed at the command line, which enables this plugin for you.
1 parent 3cb1de9 commit 8ddaafe

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/config-generator.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -413,10 +413,6 @@ class ConfigGenerator {
413413
const outputPath = this.webpackConfig.outputPath.replace(this.webpackConfig.getContext() + '/', '');
414414
plugins.push(new AssetsOutputDisplayPlugin(outputPath, friendlyErrorsPlugin));
415415

416-
if (this.webpackConfig.useDevServer()) {
417-
plugins.push(new webpack.HotModuleReplacementPlugin());
418-
}
419-
420416
return plugins;
421417
}
422418

0 commit comments

Comments
 (0)