Make WordPress Core

Changeset 46352


Ignore:
Timestamp:
09/30/2019 03:57:21 PM (7 years ago)
Author:
desrosj
Message:

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.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Gruntfile.js

    r46167 r46352  
    2626                        'wp-content/plugins/index.php',
    2727                        'wp-content/plugins/hello.php',
    28                         'wp-content/plugins/akismet/**'
     28                        'wp-content/plugins/akismet/**',
     29                        '!wp-content/themes/twenty*/node_modules/**'
    2930                ],
    3031                changedFiles = {
    … …  
    554555                                        '!twenty{fourteen,fifteen,sixteen}/js/html5.js',
    555556                                        '!twentyseventeen/assets/js/html5.js',
    556                                         '!twentyseventeen/assets/js/jquery.scrollTo.js'
     557                                        '!twentyseventeen/assets/js/jquery.scrollTo.js',
     558                                        '!twentytwenty/node_modules/**'
    557559                                ]
    558560                        },
  • trunk/src/wp-content/themes/twentytwenty

    • Property svn:ignore set to
      node_modules
Note: See TracChangeset for help on using the changeset viewer.