mirror of
https://github.com/jquery/jquery.git
synced 2025-01-10 18:24:24 +00:00
No ticket: Clean up uglifyjs compress options. Close gh-1382.
This commit is contained in:
parent
a5063ee2a1
commit
e15627022f
13
Gruntfile.js
13
Gruntfile.js
@ -111,10 +111,17 @@ module.exports = function( grunt ) {
|
|||||||
ascii_only: true
|
ascii_only: true
|
||||||
},
|
},
|
||||||
compress: {
|
compress: {
|
||||||
hoist_funs: false,
|
properties: true,
|
||||||
join_vars: false,
|
dead_code: true,
|
||||||
|
unsafe: false,
|
||||||
|
booleans: true,
|
||||||
loops: false,
|
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