Skip to content

Commit

Permalink
fix: use defaults in terser
Browse files Browse the repository at this point in the history
Use the default options provided by terser
  • Loading branch information
evenstensberg committed Dec 9, 2023
1 parent 1e9f055 commit 6b679d7
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions .webpack/webpack.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,24 +61,7 @@ module.exports = merge(base, {
optimization: {
runtimeChunk: false,
minimizer: [
new TerserPlugin({
terserOptions: {
format: {
comments: false
},
warnings: false,
parse: {
html5_comments: false
},
mangle: true,
module: false,
toplevel: false,
ie8: false,
keep_classnames: false,
keep_fnames: false,
safari10: false
}
}),
new TerserPlugin(),
new CssMinimizerPlugin()
]
},
Expand Down

0 comments on commit 6b679d7

Please sign in to comment.