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
This commit is contained in:
parent
14d0316b3c
commit
e9e1c4c30d
@ -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: {
|
||||
|
Loading…
Reference in New Issue
Block a user