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., peterwilsoncc.
Merges [51689] to the 5.8 branch.
Fixes #53719.

git-svn-id: https://develop.svn.wordpress.org/branches/5.8@51691 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jonathan Desrosiers 2021-08-30 13:39:59 +00:00
parent 851e023fb7
commit 9d36011c0c

View File

@ -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: [