diff options
Diffstat (limited to 'vnext/webpack.config.js')
-rw-r--r-- | vnext/webpack.config.js | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/vnext/webpack.config.js b/vnext/webpack.config.js index f8e7128c..a8e28f49 100644 --- a/vnext/webpack.config.js +++ b/vnext/webpack.config.js @@ -2,11 +2,9 @@ const webpack = require('webpack'); const path = require('path'); const HtmlWebPackPlugin = require('html-webpack-plugin'); const MiniCssExtractPlugin = require('mini-css-extract-plugin'); -const TerserPlugin = require('terser-webpack-plugin'); const CssMinimizerPlugin = require('css-minimizer-webpack-plugin'); const ErrorOverlayPlugin = require('error-overlay-webpack-plugin'); const ESLintPlugin = require('eslint-webpack-plugin'); -const ReactRefreshWebpackPlugin = require('@pmmmwh/react-refresh-webpack-plugin'); module.exports = (env, argv) => { const dev = argv.mode !== 'production'; @@ -106,7 +104,6 @@ module.exports = (env, argv) => { if (dev) { config.plugins.push(new webpack.HotModuleReplacementPlugin()); - config.plugins.push(new ReactRefreshWebpackPlugin()); } else { config.optimization = { minimizer: [ |