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', ] }