From 5a2a8de3cd53dd17ca2c71e6685d7f2d3b611d85 Mon Sep 17 00:00:00 2001 From: Christian Kaisermann Date: Mon, 30 Apr 2018 12:35:33 -0300 Subject: [PATCH] Remove 2nd instance of HotModuleReplacementPlugin `webpack-serve` uses `webpack-hot-client` which [already includes the HotModuleReplacementPlugin](https://github.com/webpack-contrib/webpack-hot-client#gotchas). This fixes the stack overflow with `webpackHotUpdateCallback`. --- webpack.config.js | 1 - 1 file changed, 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index 1d2e6ad..ac24d45 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -40,7 +40,6 @@ module.exports = { }, mode, plugins: [ - !prod && new webpack.HotModuleReplacementPlugin(), new MiniCssExtractPlugin({ filename: '[name].css' })