From aca1a8aa3dce10b6413b276cc63a691b72ebc64a Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Mon, 2 Mar 2020 19:08:48 +0000 Subject: [PATCH] Build Tools: Exclude the `src/wp-includes/assets/` directory from copying when building. Its content is generated by Webpack and copied in another task. See #48154. git-svn-id: https://develop.svn.wordpress.org/trunk@47407 602fd350-edb4-49c9-b593-d223f7449a82 --- Gruntfile.js | 1 + 1 file changed, 1 insertion(+) diff --git a/Gruntfile.js b/Gruntfile.js index 359ba2bfe9..8621843c8d 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -145,6 +145,7 @@ module.exports = function(grunt) { expand: true, cwd: SOURCE_DIR, src: buildFiles.concat( [ + '!wp-includes/assets/**', // Assets is extracted into separate copy tasks. '!js/**', // JavaScript is extracted into separate copy tasks. '!.{svn,git}', // Exclude version control folders. '!wp-includes/version.php', // Exclude version.php.