fix: Upgrade terser to remove deprecations in webpack pipeline

This commit is contained in:
Robert Prehn 2021-07-21 21:42:03 +00:00
parent 52ed78b08c
commit 2eefe95dfb
3 changed files with 86 additions and 832 deletions

File diff suppressed because it is too large Load diff

View file

@ -46,7 +46,7 @@
"stylelint": "^13.8.0",
"stylelint-config-standard": "^20.0.0",
"stylelint-order": "^4.1.0",
"terser-webpack-plugin": "^2.3.2",
"terser-webpack-plugin": "^5.1.4",
"webpack": "^5.1.0",
"webpack-cli": "^4.7.2",
"yargs-parser": "^20.2.9"

View file

@ -13,7 +13,7 @@ module.exports = (env, options) => {
return {
optimization: {
minimizer: [
new TerserPlugin({ cache: true, parallel: true, sourceMap: devMode }),
new TerserPlugin({ parallel: true }),
new CssMinimizerPlugin(),
],
},