Skip to content

Commit

Permalink
Build: Fix UglifyJS output in Android 4.0; update uglify
Browse files Browse the repository at this point in the history
  • Loading branch information
timmywil committed Jan 3, 2018
1 parent b63cb4e commit cf90b4b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10,342 deletions.
7 changes: 6 additions & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,12 @@ module.exports = function( grunt ) {
"dist/<%= grunt.option('filename').replace('.js', '.min.map') %>",
report: "min",
output: {
"ascii_only": true
"ascii_only": true,

// Support: Android 4.0 only
// UglifyJS 3 breaks Android 4.0 if this option is not enabled.
// This is in lieu of setting ie8 for all of mangle, compress, and output
"ie8": true
},
banner: "/*! jQuery v<%= pkg.version %> | " +
"(c) JS Foundation and other contributors | jquery.org/license */",
Expand Down
Loading

0 comments on commit cf90b4b

Please sign in to comment.