next.js
121bd6a1 - Ensure we match comment minify behavior between terser and swc (#68372)

Commit
1 year ago
Ensure we match comment minify behavior between terser and swc (#68372) Currently we are only strip all comments properly when `swcMinify: false` is set although the default is to use `swcMinify` which can cause confusion with these two modes not matching comments handling. This updates the default to match comment stripping between the two and also adds an experimental config to allow toggling this regardless of which minifier is being used. x-ref: [slack thread](https://vercel.slack.com/archives/C0676QZBWKS/p1722444791037279) x-ref: NEXT-3642
Author
Parents
Loading