使用Gulp忽略其中包含哈希的文件

时间:2016-03-25 18:19:28

标签: regex gulp wildcard

gulp我想忽略文件名中有修订哈希的图像。 my-image-123abcd.png

gulp.task('custom', function() {
    return gulp.src(['public/dist/images/**/*'])
        .pipe(doSomething())
        //etc
});

我怎样才能实现这一目标?

0 个答案:

没有答案