mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Only set uglify options if not already the default
This commit is contained in:
parent
e15627022f
commit
08b6271b6d
12
Gruntfile.js
12
Gruntfile.js
@ -111,17 +111,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