Convert JPG and PNG images to WebP with gulp task.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
test
.editorconfig
.gitignore
.travis.yml
index.js
package-lock.json
package.json
readme.md

readme.md

gulp-cwebp

Convert JPG and PNG images to WebP with gulp task.

Build Status NPM version Dependency Status devDependency Status

Install

$ npm install --save-dev gulp-cwebp

Usage

This is gulpfile.js sample.

var gulp  = require('gulp');
var cwebp = require('gulp-cwebp');

gulp.task('cwebp', function () {
  gulp.src('./fixtures/*')
    .pipe(cwebp())
    .pipe(gulp.dest('./dest/'));
});

gulp.task('default', ['cwebp']);

License

MIT: http://1000ch.mit-license.org