Make WordPress Core

Changeset 62189


Ignore:
Timestamp:
04/01/2026 02:33:56 AM (6 months ago)
Author:
peterwilsoncc
Message:

Build/Test Tools: Copy vendor scripts earlier in the build.

Relocates the copy-vendor-scripts to run during the the build:js portion of the build script. This ensures the JavaScript files are in place before the uglify:all task is run.

Follow up to r61438

Props desrosj.
Fixes #65006. See #64393.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Gruntfile.js

    r62144 r62189  
    18381838                'build:webpack',
    18391839                'copy:js',
     1840                'copy-vendor-scripts',
    18401841                'file_append',
    18411842                'uglify:all',
    … …  
    21342135                                'build:codemirror',
    21352136                                'build:gutenberg',
    2136                                 'copy-vendor-scripts',
    21372137                                'build:certificates'
    21382138                        ] );
    … …  
    21462146                                'build:codemirror',
    21472147                                'build:gutenberg',
    2148                                 'copy-vendor-scripts',
    21492148                                'replace:source-maps',
    21502149                                'verify:build'
Note: See TracChangeset for help on using the changeset viewer.