Exclude specific folders with Gulp -
if have following structure, how can exclude folders format "xx_yy" except "en_us" within gulp.src
?
images/ |_ en_us/ |_ en_gb/ (this should ignored) |_ de_de/ (this should ignored) |_ etc etc...
something should work you:
var images = [ 'images/**/*', '!images/en_gb/**/*', '!images/de-de/**/*' ]; gulp.src(images)...
Comments
Post a Comment