Make WordPress Core

Changeset 35564


Ignore:
Timestamp:
11/07/2015 12:36:24 PM (8 years ago)
Author:
ocean90
Message:

Build Tools: Update the preserveComments option for uglify:jqueryui.

Uglify2 doesn't support the value "some" anymore. Replace it with the /^!/ regex which produces the same output as before.

See https://build.trac.wordpress.org/changeset/35502 and https://build.trac.wordpress.org/changeset/35528.
Fixes #34177.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Gruntfile.js

    r35488 r35564  
    452452            jqueryui: {
    453453                options: {
    454                     preserveComments: 'some'
     454                    // Preserve comments that start with a bang.
     455                    preserveComments: /^!/
    455456                },
    456457                expand: true,
Note: See TracChangeset for help on using the changeset viewer.