mirror of
https://github.com/jquery/jquery.git
synced 2025-01-10 18:24:24 +00:00
Only set uglify options if not already the default
This commit is contained in:
parent
3ca883f863
commit
209f0a8a8b
12
Gruntfile.js
12
Gruntfile.js
@ -113,17 +113,9 @@ module.exports = function( grunt ) {
|
||||
ascii_only: true
|
||||
},
|
||||
compress: {
|
||||
properties: true,
|
||||
dead_code: true,
|
||||
unsafe: false,
|
||||
booleans: true,
|
||||
loops: false,
|
||||
unused: false,
|
||||
hoist_funs: false,
|
||||
hoist_vars: false,
|
||||
if_return: true,
|
||||
join_vars: true,
|
||||
warnings: true
|
||||
loops: false,
|
||||
unused: false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user