mirror of
git://develop.git.wordpress.org/
synced 2025-01-17 21:08:44 +01:00
Build: Ignore the vendor directory during the jsvalidate:build
task.
Props netweb. Fixes #45119. git-svn-id: https://develop.svn.wordpress.org/branches/5.0@43783 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
34aa09d5b8
commit
ceaf09a5fb
@ -603,7 +603,8 @@ module.exports = function(grunt) {
|
|||||||
files: {
|
files: {
|
||||||
src: [
|
src: [
|
||||||
BUILD_DIR + 'wp-{admin,includes}/**/*.js',
|
BUILD_DIR + 'wp-{admin,includes}/**/*.js',
|
||||||
BUILD_DIR + 'wp-content/themes/twenty*/**/*.js'
|
BUILD_DIR + 'wp-content/themes/twenty*/**/*.js',
|
||||||
|
'!' + BUILD_DIR + 'wp-includes/js/dist/vendor/*.js'
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user