Skip to content
Permalink
Browse files

Build/Test: Update Grunt Uglify options

Follow up to [46408]

Sometimes you need to take documentation literally. And sometimes you need to take it seriously. Deprecations and replacements in uglify are a case where I took them literally and should have taken them seriously.

See #48203.



git-svn-id: https://develop.svn.wordpress.org/trunk@46409 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information...
aaronjorbin committed Oct 5, 2019
1 parent 3f9927d commit 2c5032e29dbf0c28dac875c2eac896effcec46ae
Showing with 6 additions and 3 deletions.
  1. +6 −3 Gruntfile.js
@@ -665,8 +665,9 @@ module.exports = function(grunt) {
},
uglify: {
options: {
'output.ascii_only': true,
'!ie8': false
output: {
ascii_only: true
}
},
core: {
expand: true,
@@ -706,7 +707,9 @@ module.exports = function(grunt) {
jqueryui: {
options: {
// Preserve comments that start with a bang.
'output.comments': /^!/
output: {
comments: /^!/
}
},
expand: true,
cwd: 'node_modules/jquery-ui/ui/',

0 comments on commit 2c5032e

Please sign in to comment.
You can’t perform that action at this time.