Ignore .js
files in wp-content
when running jsvalidate
during grunt build
. See [26977].
Props TobiasBg. Fixes #26615. git-svn-id: https://develop.svn.wordpress.org/trunk@27054 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e8797a9b15
commit
1805248438
@ -303,9 +303,12 @@ module.exports = function(grunt) {
|
||||
},
|
||||
build: {
|
||||
files: {
|
||||
src: BUILD_DIR + '/**/*.js'
|
||||
src: [
|
||||
BUILD_DIR + '/**/*.js',
|
||||
'!' + BUILD_DIR + '/wp-content/**/*.js',
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
all: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user