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
-
As the above title says, I don't know how to pass my own terserOptions to the latest terser-webpack-plugin coming with Webpack v5. After referring to webpack official documentation, I only find the information that |
Beta Was this translation helpful? Give feedback.
Answered by
sokra
Feb 7, 2021
Replies: 1 comment
-
You can't change the options of the default plugin, but you can omit "..." and pass a new terser-webpack-plugin with new options. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
liuliangsir
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can't change the options of the default plugin, but you can omit "..." and pass a new terser-webpack-plugin with new options.