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
This commit is contained in:
Aaron Jorbin 2019-10-05 21:59:32 +00:00
parent 3f9927d3ab
commit 2c5032e29d
1 changed files with 6 additions and 3 deletions

View File

@ -665,8 +665,9 @@ module.exports = function(grunt) {
}, },
uglify: { uglify: {
options: { options: {
'output.ascii_only': true, output: {
'!ie8': false ascii_only: true
}
}, },
core: { core: {
expand: true, expand: true,
@ -706,7 +707,9 @@ module.exports = function(grunt) {
jqueryui: { jqueryui: {
options: { options: {
// Preserve comments that start with a bang. // Preserve comments that start with a bang.
'output.comments': /^!/ output: {
comments: /^!/
}
}, },
expand: true, expand: true,
cwd: 'node_modules/jquery-ui/ui/', cwd: 'node_modules/jquery-ui/ui/',