Answer the question
In order to leave comments, you need to log in
Why don't gulp-zip and gulp-sequence/run-sequence get along?
Hello.
I don't know what to refer to here.
I create a dependency using the plugin (I tried both) and would like to pack the build files into a zip archive at the end of the build task.
Looks like this
gulp.task('zipper', function(){
return gulp.src('dist/**/*')
.pipe(zip('archive.zip'))
.pipe(gulp.dest('./'));
})
gulp.task('build', gulpSequence('clean', ['sass','buildjs, jade'], 'makedist', 'zipper'))
Answer the question
In order to leave comments, you need to log in
Used the additional merge-stream plugin.
added it to 'makedist'.
After that, everything worked with a bang.
Grigory S. thanks for the tip.return merge(a,b,c,d,e);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question