Skip to content

Commit eaff944

Browse files
authored
Merge pull request #16 from weaverryan/fix-hmr
Removing duplicate HotModuleReplacementPlugin()
2 parents 3cb1de9 + 8ddaafe commit eaff944

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)