From bb3075d642159042dcc8b05050281b23bc73a00e Mon Sep 17 00:00:00 2001 From: Peter Wilson Date: Mon, 30 Aug 2021 04:34:19 +0000 Subject: [PATCH] Build: Remove `css/dist` in `grunt clean` command. Modify the `grunt clean:css` command to include the folder `wp-includes/css/dist` to ensure legacy files do not remain if the built files are removed/relocated. Props desrosj, netweb. Fixes #53719. git-svn-id: https://develop.svn.wordpress.org/trunk@51689 602fd350-edb4-49c9-b593-d223f7449a82 --- Gruntfile.js | 1 + 1 file changed, 1 insertion(+) diff --git a/Gruntfile.js b/Gruntfile.js index 7aa793a089..d273eac5e6 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -115,6 +115,7 @@ module.exports = function(grunt) { WORKING_DIR + 'wp-admin/css/*-rtl*.css', WORKING_DIR + 'wp-includes/css/*.min.css', WORKING_DIR + 'wp-includes/css/*-rtl*.css', + WORKING_DIR + 'wp-includes/css/dist/', WORKING_DIR + 'wp-admin/css/colors/**/*.css' ], js: [