You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 9, 2023. It is now read-only.
I know that the config is being parsed properly, because I get errors if I place keep_classnames directly in the UglifyJSPlugin config object or change keep_classnames into a typo anywhere.
As soon as I set
module.exports.mode = "production", class names are mangled.Some references:
https://webpack.js.org/plugins/uglifyjs-webpack-plugin/
https://github.com/webpack-contrib/uglifyjs-webpack-plugin
Absolutely nothing works to keep the class names, including this overkill config:
Or this one:
I know that the config is being parsed properly, because I get errors if I place
keep_classnamesdirectly in theUglifyJSPluginconfig object or changekeep_classnamesinto a typo anywhere.