diff --git a/Gruntfile.js b/Gruntfile.js index c925a4f567227..67258d14a42e0 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -668,7 +668,12 @@ module.exports = function(grunt) { files: [ { expand: true, cwd: 'gutenberg/build/styles', - src: [ '**/*', '!**/*.map' ], + src: [ + '**/*', + '!**/*.map', + // Per-block CSS is copied to wp-includes/blocks/ by tools/gutenberg/copy.js. + '!block-library/*/**', + ], dest: WORKING_DIR + 'wp-includes/css/dist/', } ], },