Skip to content

Commit

Permalink
Upgrade terser-webpack-plugin 3.0.3 -> 5.3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
mreishus committed Nov 29, 2023
1 parent d8ac109 commit a2fa206
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 220 deletions.
253 changes: 38 additions & 215 deletions apps/demon_spirit_web/assets/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion apps/demon_spirit_web/assets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"postcss-import": "^14.0.0",
"postcss-loader": "^4.3.0",
"tailwindcss": "^3.3.5",
"terser-webpack-plugin": "^3.0.3",
"terser-webpack-plugin": "^5.3.9",
"webpack": "^5.89.0",
"webpack-cli": "^5.1.4"
}
Expand Down
5 changes: 1 addition & 4 deletions apps/demon_spirit_web/assets/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@ const CopyWebpackPlugin = require("copy-webpack-plugin");

module.exports = (env, options) => ({
optimization: {
minimizer: [
new TerserPlugin({ cache: true, parallel: true, sourceMap: false }),
new CssMinimizerPlugin(),
],
minimizer: [new TerserPlugin({ parallel: true }), new CssMinimizerPlugin()],
},
entry: {
"./js/app.js": glob.sync("./vendor/**/*.js").concat(["./js/app.js"]),
Expand Down

0 comments on commit a2fa206

Please sign in to comment.