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 has been archived by the owner on Aug 8, 2019. It is now read-only.
It says By default the mangle option is false., but actully the default mangle option is true. (We can infer this from the subsequent sentence But you can configure the plugin to avoid mangling specific variable names by passing an except list.) I also check the source code of UglifyJSPlugin at https://github.com/webpack/webpack/blob/master/lib/optimize/UglifyJsPlugin.js#L90 : if(options.mangle !== false) {...}
Unless we explicitly give it a false value, it will still do the mangling thing.
The text was updated successfully, but these errors were encountered:
In this document, http://webpack.github.io/docs/list-of-plugins.html#uglifyjsplugin.
It says
By default the mangle option is false.
, but actully the default mangle option is true. (We can infer this from the subsequent sentenceBut you can configure the plugin to avoid mangling specific variable names by passing an except list
.) I also check the source code of UglifyJSPlugin at https://github.com/webpack/webpack/blob/master/lib/optimize/UglifyJsPlugin.js#L90 :if(options.mangle !== false) {...}
Unless we explicitly give it a
false
value, it will still do the mangling thing.The text was updated successfully, but these errors were encountered: