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:
Gary Pendergast 2018-10-22 04:53:49 +00:00
parent 34aa09d5b8
commit ceaf09a5fb

View File

@ -603,7 +603,8 @@ module.exports = function(grunt) {
files: {
src: [
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'
]
}
}