aboutsummaryrefslogtreecommitdiff
path: root/vnext
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
parentfbf01fe1c1fa00ea23b18f8bc602ccb4f0691a04 (diff)
Remove unused babel plugins
Diffstat (limited to 'vnext')
-rw-r--r--vnext/package-lock.json49
-rw-r--r--vnext/package.json14
-rw-r--r--vnext/webpack.config.js3
3 files changed, 2 insertions, 64 deletions
diff --git a/vnext/package-lock.json b/vnext/package-lock.json
index f39e3521..e8ee0514 100644
--- a/vnext/package-lock.json
+++ b/vnext/package-lock.json
@@ -1982,28 +1982,6 @@
}
}
},
- "@pmmmwh/react-refresh-webpack-plugin": {
- "version": "0.4.2",
- "resolved": "https://registry.npmjs.org/@pmmmwh/react-refresh-webpack-plugin/-/react-refresh-webpack-plugin-0.4.2.tgz",
- "integrity": "sha512-Loc4UDGutcZ+Bd56hBInkm6JyjyCwWy4t2wcDXzN8EDPANgVRj0VP8Nxn0Zq2pc+WKauZwEivQgbDGg4xZO20A==",
- "dev": true,
- "requires": {
- "ansi-html": "^0.0.7",
- "error-stack-parser": "^2.0.6",
- "html-entities": "^1.2.1",
- "native-url": "^0.2.6",
- "schema-utils": "^2.6.5",
- "source-map": "^0.7.3"
- },
- "dependencies": {
- "source-map": {
- "version": "0.7.3",
- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.3.tgz",
- "integrity": "sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==",
- "dev": true
- }
- }
- },
"@sindresorhus/is": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-2.1.1.tgz",
@@ -2995,12 +2973,6 @@
"integrity": "sha512-cBhpre4ma+U0T1oM5fXg7Dy1Jw7zzwv7lt/GoCpr+hDQJoYnKVPLL4dCvSEFMmQurOQvSrwT7SL/DAlhBI97RQ==",
"dev": true
},
- "ansi-html": {
- "version": "0.0.7",
- "resolved": "https://registry.npmjs.org/ansi-html/-/ansi-html-0.0.7.tgz",
- "integrity": "sha1-gTWEAhliqenm/QOflA0S9WynhZ4=",
- "dev": true
- },
"ansi-regex": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz",
@@ -7164,12 +7136,6 @@
"whatwg-encoding": "^1.0.5"
}
},
- "html-entities": {
- "version": "1.3.1",
- "resolved": "https://registry.npmjs.org/html-entities/-/html-entities-1.3.1.tgz",
- "integrity": "sha512-rhE/4Z3hIhzHAUKbW8jVcCyuT5oJCXXqhN/6mXXVCpzTmvJnoH2HL/bt3EZ6p55jbFJBeAe1ZNpL5BugLujxNA==",
- "dev": true
- },
"html-escaper": {
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz",
@@ -10327,15 +10293,6 @@
"to-regex": "^3.0.1"
}
},
- "native-url": {
- "version": "0.2.6",
- "resolved": "https://registry.npmjs.org/native-url/-/native-url-0.2.6.tgz",
- "integrity": "sha512-k4bDC87WtgrdD362gZz6zoiXQrl40kYlBmpfmSjwRO1VU0V5ccwJTlxuE72F6m3V0vc1xOf6n3UCP9QyerRqmA==",
- "dev": true,
- "requires": {
- "querystring": "^0.2.0"
- }
- },
"natural-compare": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz",
@@ -12729,12 +12686,6 @@
"resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz",
"integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ=="
},
- "react-refresh": {
- "version": "0.8.3",
- "resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.8.3.tgz",
- "integrity": "sha512-X8jZHc7nCMjaCqoU+V2I0cOhNW+QMBwSUkeXnTi8IPe6zaRWfn60ZzvFDZqWPfmSJfjub7dDW1SP0jaHWLu/hg==",
- "dev": true
- },
"react-router": {
"version": "5.2.0",
"resolved": "https://registry.npmjs.org/react-router/-/react-router-5.2.0.tgz",
diff --git a/vnext/package.json b/vnext/package.json
index 06cab90d..4c6a7911 100644
--- a/vnext/package.json
+++ b/vnext/package.json
@@ -12,11 +12,9 @@
"license": "AGPL-3.0-or-later",
"devDependencies": {
"@babel/core": "7.12.0",
- "@babel/plugin-proposal-class-properties": "7.10.4",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/preset-env": "7.12.0",
"@babel/preset-react": "7.10.4",
- "@pmmmwh/react-refresh-webpack-plugin": "^0.4.2",
"babel-eslint": "^10.1.0",
"babel-jest": "^26.5.2",
"babel-loader": "^8.1.0",
@@ -38,7 +36,6 @@
"postcss-loader": "^4.0.4",
"postcss-preset-env": "^6.7.0",
"react-cookie": "^4.0.3",
- "react-refresh": "^0.8.3",
"react-test-renderer": "^16.14.0",
"style-loader": "^2.0.0",
"stylelint": "^13.7.2",
@@ -48,14 +45,7 @@
},
"babel": {
"plugins": [
- [
- "@babel/plugin-proposal-class-properties",
- {
- "spec": true
- }
- ],
- "@babel/plugin-syntax-dynamic-import",
- "react-refresh/babel"
+ "@babel/plugin-syntax-dynamic-import"
],
"presets": [
[
@@ -99,4 +89,4 @@
"svg4everybody": "^2.1.9",
"url-polyfill": "^1.1.11"
}
-} \ No newline at end of file
+}
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: [