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.
1 parent 560e175 commit d4573e5Copy full SHA for d4573e5
lib/optimize/UglifyJsPlugin.js
@@ -91,7 +91,7 @@ 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) {
+ if(options.mangle && options.mangle.props) {
95
uglify.mangle_properties(ast, options.mangle.props);
96
}
97
0 commit comments