Make WordPress Core

Changeset 46409


Ignore:
Timestamp:
10/05/2019 09:59:32 PM (6 years ago)
Author:
jorbin
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Gruntfile.js

    r46408 r46409  
    666666        uglify: {
    667667            options: {
    668                 'output.ascii_only': true,
    669                 '!ie8': false
     668                output: {
     669                    ascii_only: true
     670                }
    670671            },
    671672            core: {
     
    707708                options: {
    708709                    // Preserve comments that start with a bang.
    709                     'output.comments': /^!/
     710                    output: {
     711                        comments: /^!/
     712                    }
    710713                },
    711714                expand: true,
Note: See TracChangeset for help on using the changeset viewer.