From 2146a98bd98b7e275a0ee7bc7a243981b597f34c Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 27 Oct 2022 21:01:55 +0300 Subject: Switch from `babel-eslint` to `@babel/eslint-parser` --- vnext/webpack.config.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'vnext/webpack.config.js') 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: [ '...', -- cgit v1.2.3