diff --git a/Gruntfile.js b/Gruntfile.js
index 0ed08c39b8..54710ef4a1 100644
a
|
b
|
module.exports = function(grunt) { |
26 | 26 | 'wp-content/plugins/index.php', |
27 | 27 | 'wp-content/plugins/hello.php', |
28 | 28 | 'wp-content/plugins/akismet/**', |
29 | | '!wp-content/themes/twenty*/node_modules/**' |
| 29 | '!wp-content/themes/twenty*/node_modules/**', |
| 30 | '!wp-config.php', |
30 | 31 | ], |
31 | 32 | changedFiles = { |
32 | 33 | php: [] |
… |
… |
module.exports = function(grunt) { |
97 | 98 | plugins: [BUILD_DIR + 'wp-content/plugins'], |
98 | 99 | themes: [BUILD_DIR + 'wp-content/themes'], |
99 | 100 | files: buildFiles.map( function( file ) { |
| 101 | if ( file.charAt( 0 ) === '!' ) { |
| 102 | return '!' + BUILD_DIR + file.substring(1); |
| 103 | } |
100 | 104 | return BUILD_DIR + file; |
101 | 105 | }), |
102 | 106 | css: [ |