Merge branch 'npm-upgrades' into 'master'
fix: Upgrade terser to remove deprecations in webpack pipeline See merge request mythic-insight/legendary!96
This commit is contained in:
commit
0039465c81
3 changed files with 86 additions and 832 deletions
914
apps/app/assets/package-lock.json
generated
914
apps/app/assets/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -46,7 +46,7 @@
|
||||||
"stylelint": "^13.8.0",
|
"stylelint": "^13.8.0",
|
||||||
"stylelint-config-standard": "^20.0.0",
|
"stylelint-config-standard": "^20.0.0",
|
||||||
"stylelint-order": "^4.1.0",
|
"stylelint-order": "^4.1.0",
|
||||||
"terser-webpack-plugin": "^2.3.2",
|
"terser-webpack-plugin": "^5.1.4",
|
||||||
"webpack": "^5.1.0",
|
"webpack": "^5.1.0",
|
||||||
"webpack-cli": "^4.7.2",
|
"webpack-cli": "^4.7.2",
|
||||||
"yargs-parser": "^20.2.9"
|
"yargs-parser": "^20.2.9"
|
||||||
|
|
|
@ -13,7 +13,7 @@ module.exports = (env, options) => {
|
||||||
return {
|
return {
|
||||||
optimization: {
|
optimization: {
|
||||||
minimizer: [
|
minimizer: [
|
||||||
new TerserPlugin({ cache: true, parallel: true, sourceMap: devMode }),
|
new TerserPlugin({ parallel: true }),
|
||||||
new CssMinimizerPlugin(),
|
new CssMinimizerPlugin(),
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue