Skip to content

Commit 4bca859

Browse files
committed
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. Reviewed by desrosj, peterwilsoncc. Merges [62189] to the 7.0 branch. Props desrosj, peterwilsoncc. Fixes #65006. See #64393. git-svn-id: https://develop.svn.wordpress.org/branches/7.0@62275 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 4749d95 commit 4bca859

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Gruntfile.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1837,6 +1837,7 @@ module.exports = function(grunt) {
18371837
'clean:js',
18381838
'build:webpack',
18391839
'copy:js',
1840+
'copy-vendor-scripts',
18401841
'file_append',
18411842
'uglify:all',
18421843
'concat:tinymce',
@@ -2133,7 +2134,6 @@ module.exports = function(grunt) {
21332134
'build:css',
21342135
'build:codemirror',
21352136
'build:gutenberg',
2136-
'copy-vendor-scripts',
21372137
'build:certificates'
21382138
] );
21392139
} else {
@@ -2145,7 +2145,6 @@ module.exports = function(grunt) {
21452145
'build:css',
21462146
'build:codemirror',
21472147
'build:gutenberg',
2148-
'copy-vendor-scripts',
21492148
'replace:source-maps',
21502149
'verify:build'
21512150
] );

0 commit comments

Comments
 (0)