Closed gevgeny closed 9 years ago
you can use multipipe to combine the two stream
var pipe = require('multipipe');
return gulp.src('/assets')
.pipe(gif('**/*.js', pipe(concat('js/min.js'), uglify())))
.pipe(gulp.dest('/dist/js'));
Does not work as expected for me.
It worked for me perfectly. Thanks!
@gevgeny What do you want?
Might I suggest documenting this in README.md
? I was about to fork and add multiple pipe support and then I saw that there were some issues open so I went ahead and looked at them.
@popomore Worked for me, thanks! :D
I think using merge-stream
is a safer alternative.
It would be great if gulp-resources can pipe multiple streams passed as an array in second and third parameters.