mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
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:
@@ -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',
|
||||
],
|
||||
|
||||
|
||||
Reference in New Issue
Block a user