Skip to content

Commit fad6040

Browse files
committed
Copy patches folder when building
1 parent 729a04a commit fad6040

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Gruntfile.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ module.exports = function( grunt ) {
2727
// ⚠️ Warning: These paths are passed straight to rm command in the shell, without any escaping.
2828
const productionVendorExcludedFilePatterns = [
2929
'composer.*',
30+
'patches',
3031
'vendor/*/*/.editorconfig',
3132
'vendor/*/*/.gitignore',
3233
'vendor/*/*/composer.*',
@@ -150,6 +151,7 @@ module.exports = function( grunt ) {
150151
paths.push( 'assets/js/*.js' ); // @todo Also include *.map files?
151152
paths.push( 'assets/js/*.asset.php' );
152153
paths.push( 'assets/css/*.css' );
154+
paths.push( 'patches/*.patch' );
153155

154156
grunt.config.set( 'copy', {
155157
build: {

0 commit comments

Comments
 (0)