We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setting the "compress" terserOptions property to false no longer seems to have any effect in 5.3.5.
5.3.3 works fine, but 5.3.5 compresses my JS even when set to false.
Setting 'compress' to false in terser options does not prevent webpack from compressing applicable JS.
Setting compress to false in terser options should prevent webpack from compressing applicable JS.
Try processing a JS file using the following optimization object, and you will notice that the output is compressed:
optimization: { minimizer: [ new TerserPlugin({ parallel: true, extractComments: true, terserOptions: { compress: false, mangle: false, } }) ] }
npx webpack-cli info
Not applicable.
The text was updated successfully, but these errors were encountered:
terser
swc
Sorry for delay, fixed - https://github.com/webpack-contrib/terser-webpack-plugin/releases/tag/v5.3.6
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Bug report
Setting the "compress" terserOptions property to false no longer seems to have any effect in 5.3.5.
5.3.3 works fine, but 5.3.5 compresses my JS even when set to false.
Actual Behavior
Setting 'compress' to false in terser options does not prevent webpack from compressing applicable JS.
Expected Behavior
Setting compress to false in terser options should prevent webpack from compressing applicable JS.
How Do We Reproduce?
Try processing a JS file using the following optimization object, and you will notice that the output is compressed:
Please paste the results of
npx webpack-cli info
here, and mention other relevant informationNot applicable.
The text was updated successfully, but these errors were encountered: