From ceaf09a5fbf92115d0a28732390c05e71ebf5eaf Mon Sep 17 00:00:00 2001 From: Gary Pendergast Date: Mon, 22 Oct 2018 04:53:49 +0000 Subject: [PATCH] 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 --- Gruntfile.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Gruntfile.js b/Gruntfile.js index 778addae15cb..7bba49275b44 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -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' ] } }