From 965f4d7704c7580efb4fb9ee9cf29ace20e04e6a Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 15 Oct 2020 22:24:19 +0300 Subject: Remove unused babel plugins --- vnext/webpack.config.js | 3 --- 1 file changed, 3 deletions(-) (limited to 'vnext/webpack.config.js') 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: [ -- cgit v1.2.3