Build/Test Tools: Fix cleaning of old CSS files in wp-includes/blocks/*. Have to be cleaned earlier, before Webpack runs. Not together with the rest of the CSS files.

Props: ironprogrammer, petitphp, hellofromTonya, azaozz.
Fixes: #57891. 

git-svn-id: https://develop.svn.wordpress.org/trunk@55494 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2023-03-09 00:03:36 +00:00
parent 7b979b3515
commit a67b087a20

View File

@@ -40,7 +40,6 @@ module.exports = function(grunt) {
'wp-includes/css/*.min.css',
'wp-includes/css/*-rtl*.css',
'wp-admin/css/colors/**/*.css',
'wp-includes/blocks/**/*.css',
],
// All built js files, in /src or /build.
@@ -55,6 +54,7 @@ module.exports = function(grunt) {
webpackFiles = [
'wp-includes/assets/*',
'wp-includes/css/dist',
'wp-includes/blocks/**/*.css',
'!wp-includes/assets/script-loader-packages.min.php',
],