aboutsummaryrefslogtreecommitdiff
path: root/vnext/webpack.config.js
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2022-10-27 21:01:55 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:58 +0300
commit2146a98bd98b7e275a0ee7bc7a243981b597f34c (patch)
tree4e326986b5d0379c8c8569780973f60a5a1bc62b /vnext/webpack.config.js
parent30a86db0dcd00583f76c333127028c314d98b4fc (diff)
Switch from `babel-eslint` to `@babel/eslint-parser`
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: [
'...',