gulp-cwebp

4.0.2 • Public • Published

gulp-cwebp Build Status

Convert JPG and PNG images to WebP with gulp task.

Install

$ npm install --save-dev gulp-cwebp

Usage

This is gulpfile.js sample.

const gulp  = require('gulp');
const cwebp = require('gulp-cwebp');
 
gulp.task('cwebp', function () {
  gulp.src('./fixtures/*')
    .pipe(cwebp())
    .pipe(gulp.dest('./dest/'));
});
 
gulp.task('default', ['cwebp']);

License

MIT © Shogo Sensui

Readme

Keywords

none

Package Sidebar

Install

npm i gulp-cwebp

Weekly Downloads

605

Version

4.0.2

License

MIT

Unpacked Size

877 kB

Total Files

9

Last publish

Collaborators

  • 1000ch