robrich / gulp-ignore

plugin for gulp to ignore files in the stream based on file characteristics
MIT License
121 stars 10 forks source link

[question] Array of globs #3

Open nmccready opened 10 years ago

nmccready commented 10 years ago

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.

robrich commented 10 years ago

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

checktravis commented 8 years ago

i am looking for this function as well.