From 5c0f8fd7c8347cbef90f8e2b5bf9884b204de90c Mon Sep 17 00:00:00 2001 From: art-litv Date: Sun, 14 Aug 2022 22:15:55 +0300 Subject: [PATCH 1/3] Remove excessive plugin push --- task/webpack.config.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/task/webpack.config.js b/task/webpack.config.js index 65449aa..cb43476 100644 --- a/task/webpack.config.js +++ b/task/webpack.config.js @@ -45,10 +45,6 @@ module.exports = (env, argv) => { }, }; - if (isProduction) { - config.plugins.push(new webpack.HotModuleReplacementPlugin()); - } - if (isProduction) { config.plugins.push( new MiniCssExtractPlugin({ From 62014f20855c5643bdf1fe8c5e3b77c7c68e7cd1 Mon Sep 17 00:00:00 2001 From: art-litv Date: Wed, 17 Aug 2022 09:10:47 +0300 Subject: [PATCH 2/3] remove excessive @babel/eslint-parser option --- .eslintrc.js | 1 - package.json | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index b3e47b6..807015d 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -6,7 +6,6 @@ module.exports = { jest: true, browser: true, }, - parser: '@babel/eslint-parser', parserOptions: { ecmaFeatures: { jsx: true, diff --git a/package.json b/package.json index ca1c6fc..ff5c3a4 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,6 @@ "devDependencies": { "@babel/cli": "^7.15.7", "@babel/core": "^7.15.8", - "@babel/eslint-parser": "^7.15.8", "@babel/plugin-proposal-class-properties": "^7.14.5", "@babel/preset-env": "^7.15.8", "@babel/preset-react": "^7.14.5", @@ -27,4 +26,4 @@ "eslint-plugin-react": "^7.26.1", "prettier": "^2.4.1" } -} +} \ No newline at end of file From 15d7cdb0e67f91e66cc008f3a5499aaba92a39a9 Mon Sep 17 00:00:00 2001 From: art-litv Date: Fri, 19 Aug 2022 14:55:48 +0300 Subject: [PATCH 3/3] revert babel/eslint-parser removement --- .eslintrc.js | 1 + package.json | 1 + 2 files changed, 2 insertions(+) diff --git a/.eslintrc.js b/.eslintrc.js index 807015d..b3e47b6 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -6,6 +6,7 @@ module.exports = { jest: true, browser: true, }, + parser: '@babel/eslint-parser', parserOptions: { ecmaFeatures: { jsx: true, diff --git a/package.json b/package.json index ff5c3a4..0c6721f 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,7 @@ "devDependencies": { "@babel/cli": "^7.15.7", "@babel/core": "^7.15.8", + "@babel/eslint-parser": "^7.15.8", "@babel/plugin-proposal-class-properties": "^7.14.5", "@babel/preset-env": "^7.15.8", "@babel/preset-react": "^7.14.5",