mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-09 18:37:50 +00:00
Sync uglify options with lodash-cli.
This commit is contained in:
@@ -1,16 +1,16 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
'mangle': true,
|
|
||||||
'compress': {
|
'compress': {
|
||||||
'comparisons': false,
|
|
||||||
'keep_fargs': true,
|
|
||||||
'pure_getters': true,
|
'pure_getters': true,
|
||||||
'unsafe': true,
|
'unsafe': true,
|
||||||
'unsafe_comps': true,
|
'unsafe_comps': true,
|
||||||
'warnings': false
|
'warnings': false
|
||||||
},
|
},
|
||||||
|
'mangle': {
|
||||||
|
'except': ['define']
|
||||||
|
},
|
||||||
'output': {
|
'output': {
|
||||||
'ascii_only': true,
|
'ascii_only': true,
|
||||||
'beautify': false,
|
'comments': /^!|@cc_on|@license|@preserve/i,
|
||||||
'max_line_len': 500
|
'max_line_len': 500
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user