mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
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:
+5
-2
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user