From e9e1c4c30d7289f81672542671bbf03db69967eb Mon Sep 17 00:00:00 2001 From: Jonathan Desrosiers Date: Mon, 30 Sep 2019 15:57:21 +0000 Subject: [PATCH] Built/Test Tools: Ignore the `node_modules` folder in Twenty Twenty. Ignore the `node_modules` folder in Twenty Twenty in SVN, and when running `grunt build` or `grunt jshint:themes`. See #48110. git-svn-id: https://develop.svn.wordpress.org/trunk@46352 602fd350-edb4-49c9-b593-d223f7449a82 --- Gruntfile.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 6948a6098d..7385655c25 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -25,7 +25,8 @@ module.exports = function(grunt) { 'wp-content/themes/twenty*/**', 'wp-content/plugins/index.php', 'wp-content/plugins/hello.php', - 'wp-content/plugins/akismet/**' + 'wp-content/plugins/akismet/**', + '!wp-content/themes/twenty*/node_modules/**' ], changedFiles = { php: [] @@ -553,7 +554,8 @@ module.exports = function(grunt) { // Third party scripts '!twenty{fourteen,fifteen,sixteen}/js/html5.js', '!twentyseventeen/assets/js/html5.js', - '!twentyseventeen/assets/js/jquery.scrollTo.js' + '!twentyseventeen/assets/js/jquery.scrollTo.js', + '!twentytwenty/node_modules/**' ] }, media: {