Build: Ignore the vendor directory during the jsvalidate:build task.

Merges [43783] from the 5.0 branch to trunk.

Props netweb.
Fixes #45119.


git-svn-id: https://develop.svn.wordpress.org/trunk@44135 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jeremy Felt 2018-12-14 01:37:40 +00:00
parent f7b3c32a57
commit c125a50838

View File

@ -945,7 +945,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'
]
}
},