Closed operapreneur closed 7 years ago
It will zip the files that matches your glob. The following will zip all files inside src
:
gulp.task('default', () =>
gulp.src('src/**/*')
.pipe(zip('archive.zip'))
.pipe(gulp.dest('dist'))
);
Is it possible to have an option that recursively zips a directory?
For example, from the command line, you can run
zip -r
Thanks!