Skip to content
Permalink
Browse files

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
  • Loading branch information...
desrosj committed Sep 30, 2019
1 parent 14d0316 commit e9e1c4c30d7289f81672542671bbf03db69967eb
Showing with 4 additions and 2 deletions.
  1. +4 −2 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: {

0 comments on commit e9e1c4c

Please sign in to comment.
You can’t perform that action at this time.