gulp-ignore icon indicating copy to clipboard operation
gulp-ignore copied to clipboard

[question] Array of globs

Open nmccready opened this issue 10 years ago • 2 comments

Does filepath / condition line up with gulp.src? IE can I pass an array of conditions? That way I can have a single ignore statement.

nmccready avatar Jun 11 '14 12:06 nmccready

It doesn't currently support an array of blobs, but that is a great feature suggestion. It does support passing in a function though. Your function will receive the vinyl file, you return true or false. See https://github.com/robrich/gulp-match/blob/master/index.js#L15

robrich avatar Jun 11 '14 14:06 robrich

i am looking for this function as well.

checktravis avatar Feb 27 '16 14:02 checktravis