aboutsummaryrefslogtreecommitdiff
path: root/vnext/package.json
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2020-10-12 03:49:35 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:55 +0300
commitba41af1e9eaedb699f6c3c496fc7fe9af8a9b21d (patch)
tree3dfc89733a20efedc6dd234c14f887feeedabb57 /vnext/package.json
parent24e2689ea82488a2505667556135afa0c5aed04c (diff)
Modernize webpack config
Diffstat (limited to 'vnext/package.json')
-rw-r--r--vnext/package.json7
1 files changed, 5 insertions, 2 deletions
diff --git a/vnext/package.json b/vnext/package.json
index 67f0751e..85aed199 100644
--- a/vnext/package.json
+++ b/vnext/package.json
@@ -16,10 +16,12 @@
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/preset-env": "7.11.5",
"@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",
"css-loader": "^4.3.0",
+ "css-minimizer-webpack-plugin": "^1.1.5",
"error-overlay-webpack-plugin": "^0.4.1",
"eslint": "^7.11.0",
"eslint-plugin-babel": "^5.3.1",
@@ -33,10 +35,10 @@
"html-webpack-plugin": "^4.5.0",
"jest": "^26.5.3",
"mini-css-extract-plugin": "^1.0.0",
- "optimize-css-assets-webpack-plugin": "^5.0.4",
"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.13.1",
"style-loader": "^2.0.0",
"stylelint": "^13.7.2",
@@ -53,7 +55,8 @@
"spec": true
}
],
- "@babel/plugin-syntax-dynamic-import"
+ "@babel/plugin-syntax-dynamic-import",
+ "react-refresh/babel"
],
"presets": [
[