mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
No ticket: Clean up uglifyjs compress options. Close gh-1382.
(cherry picked from commit e15627022f
)
This commit is contained in:
parent
24e587929f
commit
3ca883f863
13
Gruntfile.js
13
Gruntfile.js
@ -113,10 +113,17 @@ module.exports = function( grunt ) {
|
||||
ascii_only: true
|
||||
},
|
||||
compress: {
|
||||
hoist_funs: false,
|
||||
join_vars: false,
|
||||
properties: true,
|
||||
dead_code: true,
|
||||
unsafe: false,
|
||||
booleans: true,
|
||||
loops: false,
|
||||
unused: false
|
||||
unused: false,
|
||||
hoist_funs: false,
|
||||
hoist_vars: false,
|
||||
if_return: true,
|
||||
join_vars: true,
|
||||
warnings: true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user