Skip to content

Commit bbd8e8f

Browse files
committed
Merge branch 'fix/missing-js-files' into connectors-api-key-source-and-rest-dispatch
2 parents ee1559e + c725d0b commit bbd8e8f

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

Gruntfile.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -612,6 +612,17 @@ module.exports = function(grunt) {
612612
dest: WORKING_DIR + 'wp-includes/build/',
613613
} ],
614614
},
615+
'gutenberg-js': {
616+
files: [ {
617+
expand: true,
618+
cwd: 'gutenberg/build',
619+
src: [
620+
'pages/**/*.js',
621+
'routes/**/*.js',
622+
],
623+
dest: WORKING_DIR + 'wp-includes/build/',
624+
} ],
625+
},
615626
'gutenberg-modules': {
616627
files: [ {
617628
expand: true,
@@ -2041,6 +2052,7 @@ module.exports = function(grunt) {
20412052

20422053
grunt.registerTask( 'build:gutenberg', [
20432054
'copy:gutenberg-php',
2055+
'copy:gutenberg-js',
20442056
'gutenberg:copy',
20452057
'copy:gutenberg-modules',
20462058
'copy:gutenberg-styles',

0 commit comments

Comments
 (0)