uglify.options.js (lodash-4.0.0) | : | uglify.options.js (lodash-4.17.21) | ||
---|---|---|---|---|
'use strict'; | ||||
/** | ||||
* The UglifyJS options object for | ||||
* [compress](https://github.com/mishoo/UglifyJS2#compressor-options), | ||||
* [mangle](https://github.com/mishoo/UglifyJS2#mangler-options), and | ||||
* [output](https://github.com/mishoo/UglifyJS2#beautifier-options) options. | ||||
*/ | ||||
module.exports = { | module.exports = { | |||
'compress': { | 'compress': { | |||
'collapse_vars': true, | ||||
'negate_iife': false, | ||||
'pure_getters': true, | 'pure_getters': true, | |||
'unsafe': true, | 'unsafe': true, | |||
'unsafe_comps': true, | ||||
'warnings': false | 'warnings': false | |||
}, | }, | |||
'mangle': { | ||||
'except': ['define'] | ||||
}, | ||||
'output': { | 'output': { | |||
'ascii_only': true, | 'ascii_only': true, | |||
'comments': /^!|@cc_on|@license|@preserve/i, | 'comments': /@license/, | |||
'max_line_len': 500 | 'max_line_len': 500 | |||
} | } | |||
}; | }; | |||
End of changes. 5 change blocks. | ||||
5 lines changed or deleted | 11 lines changed or added |