aboutsummaryrefslogtreecommitdiff
path: root/vnext/webpack.config.js
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2020-10-15 22:24:19 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:55 +0300
commit965f4d7704c7580efb4fb9ee9cf29ace20e04e6a (patch)
tree608229dead9a8dfbc7ac8d98093034da9a58f7a8 /vnext/webpack.config.js
parentfbf01fe1c1fa00ea23b18f8bc602ccb4f0691a04 (diff)
Remove unused babel plugins
Diffstat (limited to 'vnext/webpack.config.js')
-rw-r--r--vnext/webpack.config.js3
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: [