Build tools: fix generating *-rtl.css
files in wp-includes/css
after grunt --dev
was used.
Fixes #47078. git-svn-id: https://develop.svn.wordpress.org/trunk@45317 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
b202561a5f
commit
d2e3a1f1a0
@ -501,6 +501,14 @@ module.exports = function(grunt) {
|
||||
'wp-admin/css/*.css',
|
||||
'wp-includes/css/*.css',
|
||||
|
||||
// Exclude minified and already processed files, and files from external packages.
|
||||
// These are present when running `grunt build` after `grunt --dev`.
|
||||
'!wp-admin/css/*-rtl.css',
|
||||
'!wp-includes/css/*-rtl.css',
|
||||
'!wp-admin/css/*.min.css',
|
||||
'!wp-includes/css/*.min.css',
|
||||
'!wp-includes/css/dist',
|
||||
|
||||
// Exceptions
|
||||
'!wp-includes/css/dashicons.css',
|
||||
'!wp-includes/css/wp-embed-template.css',
|
||||
|
Loading…
Reference in New Issue
Block a user