Exclude on Upload
moisesrodriguez opened this issue · comments
Moises Rodriguez commented
I notice that exclude is not included in upload
. Currently I'm doing this:
{expand: true, cwd: 'bin/assets/', src: ['**'], dest: 'assets/', stream: true, differential: true}
but would like to do something like, so I can exclude to upload .map files.
{expand: true, cwd: 'bin/assets/', src: ['**'], dest: 'assets/', exclude: '**/*.map', stream: true, differential: true},
It would be great if this functionality is added
Sumeet Attree commented
@moisesrodriguez You can do this instead:
{ expand: true, cwd: 'bin/assets/', src: ['**', '!*.map'], dest: 'assets/', stream: true, differential: true }
Moises Rodriguez commented
@sumeetattree excellent! Thank you