Ticket #49460: 49460.2.diff
File 49460.2.diff, 869 bytes (added by , 5 years ago) |
---|
-
Gruntfile.js
27 27 'wp-content/plugins/hello.php', 28 28 'wp-content/plugins/akismet/**', 29 29 '!wp-content/themes/twenty*/node_modules/**', 30 '!wp-config.php',31 30 ], 32 31 changedFiles = { 33 32 php: [] … … 97 96 clean: { 98 97 plugins: [BUILD_DIR + 'wp-content/plugins'], 99 98 themes: [BUILD_DIR + 'wp-content/themes'], 100 files: buildFiles.map( function( file ) { 99 files: buildFiles.concat( [ 100 '!wp-config.php', 101 ] ).map( function( file ) { 101 102 if ( '!' === file.charAt( 0 ) ) { 102 103 return '!' + BUILD_DIR + file.substring( 1 ); 103 104 } 104 105 return BUILD_DIR + file; 105 } ),106 } ), 106 107 css: [ 107 108 WORKING_DIR + 'wp-admin/css/*.min.css', 108 109 WORKING_DIR + 'wp-admin/css/*-rtl*.css',