diff options
Diffstat (limited to 'Gruntfile.js')
-rw-r--r-- | Gruntfile.js | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/Gruntfile.js b/Gruntfile.js index 12ae0087e..0c2ba19fa 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -159,11 +159,10 @@ module.exports = function( grunt ) { options: { preserveComments: false, sourceMap: true, - ASCIIOnly: true, sourceMapName: "dist/<%= grunt.option('filename').replace('.js', '.min.map') %>", report: "min", - beautify: { + output: { "ascii_only": true }, banner: "/*! jQuery v<%= pkg.version %> | " + @@ -171,7 +170,12 @@ module.exports = function( grunt ) { compress: { "hoist_funs": false, loops: false, - unused: false + unused: false, + + // Support: IE <11 + // typeofs transformation is unsafe for IE9-10 + // See https://github.com/mishoo/UglifyJS2/issues/2198 + typeofs: false } } } |