From c125a50838c3505989907126dde257eccef7cc0b Mon Sep 17 00:00:00 2001 From: Jeremy Felt Date: Fri, 14 Dec 2018 01:37:40 +0000 Subject: [PATCH] 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 --- Gruntfile.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Gruntfile.js b/Gruntfile.js index e5d79e50bd..9b5db4983f 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -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' ] } },