Build/Test Tools: Exclude `twentynineteen/node_modules` from `jsvalidate:build` task.

Fixes #46706.

git-svn-id: https://develop.svn.wordpress.org/trunk@45060 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2019-03-28 21:16:48 +00:00
parent 60a92eb070
commit de91abb11f
1 changed files with 1 additions and 0 deletions

View File

@ -967,6 +967,7 @@ module.exports = function(grunt) {
src: [
WORKING_DIR + 'wp-{admin,includes}/**/*.js',
WORKING_DIR + 'wp-content/themes/twenty*/**/*.js',
'!' + WORKING_DIR + 'wp-content/themes/twenty*/node_modules/**/*.js',
'!' + WORKING_DIR + 'wp-includes/js/dist/vendor/*.js',
]
}