Skip to content

How to pass my own terserOptions to the latest terser-webpack-plugin coming with Webpack v5 #12617

Answered by sokra
liuliangsir asked this question in Q&A
Discussion options

You must be logged in to vote

You can't change the options of the default plugin, but you can omit "..." and pass a new terser-webpack-plugin with new options.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by liuliangsir
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants