Smoother gulp advzip

less than 1 minute read

Streamline advzip usage in your gulp build

A quick tip: if you use advzip in your build pipeline, you can now streamline it by using the new gulp-advzip plugin.

const zip = require('gulp-zip');
const advzip = require('gulp-advzip');
gulp.task('zip', () => {
    return gulp.src(['my files...'])

Installing gulp-advzip in your project will automatically download or build an appropriate version of the advzip binary for you, similar to the imagemin-advpng package, so there’s no need to worry about the usual installation steps.

Leave a comment