Skip to content

Commit

Permalink
Build: Ignore the vendor directory during the jsvalidate:build task.
Browse files Browse the repository at this point in the history
Props netweb.
Fixes #45119.



git-svn-id: https://develop.svn.wordpress.org/branches/5.0@43783 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
pento committed Oct 22, 2018
1 parent 34aa09d commit ceaf09a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Gruntfile.js
Expand Up @@ -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'
]
}
}
Expand Down

0 comments on commit ceaf09a

Please sign in to comment.