diff --git a/Gruntfile.js b/Gruntfile.js index bca4a5577e..5d614b142a 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -399,8 +399,8 @@ module.exports = function(grunt) { build: { files: { src: [ - BUILD_DIR + '/**/*.js', - '!' + BUILD_DIR + '/wp-content/**/*.js' + BUILD_DIR + 'wp-{admin,includes}/**/*.js', + BUILD_DIR + 'wp-content/themes/twenty*/**/*.js' ] } }