aboutsummaryrefslogtreecommitdiff
path: root/vnext/webpack.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'vnext/webpack.config.js')
-rw-r--r--vnext/webpack.config.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/vnext/webpack.config.js b/vnext/webpack.config.js
index b9a89acc..48b1593b 100644
--- a/vnext/webpack.config.js
+++ b/vnext/webpack.config.js
@@ -3,7 +3,6 @@ const path = require('path');
const HtmlWebPackPlugin = require('html-webpack-plugin');
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
const CssMinimizerPlugin = require('css-minimizer-webpack-plugin');
-const ErrorOverlayPlugin = require('error-overlay-webpack-plugin');
const ESLintPlugin = require('eslint-webpack-plugin');
module.exports = (env, argv) => {
@@ -105,9 +104,7 @@ module.exports = (env, argv) => {
}
};
- if (dev) {
- config.plugins.push(new webpack.HotModuleReplacementPlugin());
- } else {
+ if (!dev) {
config.optimization = {
minimizer: [
'...',