We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 668a5f0 + eb8de15 commit 560e175Copy full SHA for 560e175
lib/optimize/UglifyJsPlugin.js
@@ -91,6 +91,9 @@ UglifyJsPlugin.prototype.apply = function(compiler) {
91
ast.figure_out_scope();
92
ast.compute_char_frequency(options.mangle || {});
93
ast.mangle_names(options.mangle || {});
94
+ if(options.mangle.props) {
95
+ uglify.mangle_properties(ast, options.mangle.props);
96
+ }
97
}
98
var output = {};
99
output.comments = Object.prototype.hasOwnProperty.call(options, "comments") ? options.comments : /^\**!|@preserve|@license/;
0 commit comments