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:
parent
3f9927d3ab
commit
2c5032e29d
|
@ -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/',
|
||||||
|
|
Loading…
Reference in New Issue