From de91abb11f634b474cddf64e1bbb8fc39b120069 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 28 Mar 2019 21:16:48 +0000 Subject: [PATCH] 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 --- Gruntfile.js | 1 + 1 file changed, 1 insertion(+) diff --git a/Gruntfile.js b/Gruntfile.js index c71fe02612..2397b11fa4 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -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', ] }