mirror of
git://develop.git.wordpress.org/
synced 2025-03-23 21:39:50 +01:00
Build: Clean css/dist
as part of the webpack build step.
Move the cleaning of the `wp-includes/css/dist` folder from `clean:css` to `clean:webpack-assets` to avoid an order of operations issue in which the files were built shortly before been deleted later in the build process. Follow up to [51689]. Props netweb, ramonopoly, peterwilsoncc. Merges [51713] to the 5.8 branch. Fixes #53719. git-svn-id: https://develop.svn.wordpress.org/branches/5.8@51714 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
d4c3e5a942
commit
f44a396ddf
@ -115,7 +115,6 @@ 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: [
|
||||
@ -124,6 +123,7 @@ module.exports = function(grunt) {
|
||||
],
|
||||
'webpack-assets': [
|
||||
WORKING_DIR + 'wp-includes/assets/*',
|
||||
WORKING_DIR + 'wp-includes/css/dist/',
|
||||
'!' + WORKING_DIR + 'wp-includes/assets/script-loader-packages.php'
|
||||
],
|
||||
dynamic: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user