mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-04 18:05:45 +03:00
Theme: Move above pub/
folder to avoid clutter from sync commits.
This commit is contained in:
parent
de191e098b
commit
7b45a8c1c1
9 changed files with 74 additions and 53 deletions
|
@ -54,7 +54,7 @@ module.exports = function( grunt ) {
|
|||
var files = {};
|
||||
|
||||
['settings', 'tools', 'generic', 'base', 'objects', 'components', 'trumps'].forEach( function( component ) {
|
||||
var paths = ['../wporg/css/' + component + '/**/*.scss', '!../wporg/css/' + component + '/_' + component + '.scss'];
|
||||
var paths = ['../pub/wporg/css/' + component + '/**/*.scss', '!../pub/wporg/css/' + component + '/_' + component + '.scss'];
|
||||
|
||||
if ( isChild ) {
|
||||
paths.push( 'css/' + component + '/**/*.scss' );
|
||||
|
@ -72,7 +72,7 @@ module.exports = function( grunt ) {
|
|||
|
||||
watch: {
|
||||
css: {
|
||||
files: ['**/*.scss', '../wporg/css/**/*scss'],
|
||||
files: ['**/*.scss', '../pub/wporg/css/**/*scss'],
|
||||
tasks: ['css']
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue