Gulp Webp Save

Convert images to WebP

Project README

gulp-webp

Convert images to WebP

Supports PNG, JPEG, TIFF, WebP.

Install

npm install --save-dev gulp-webp

Usage

import gulp from 'gulp';
import webp from 'gulp-webp';

export default () => (
	gulp.src('src/image.jpg')
		.pipe(webp())
		.pipe(gulp.dest('dist'))
);

API

webp(options?)

See the imagemin-webp options.

Unsupported files are ignored and passed through.

Open Source Agenda is not affiliated with "Gulp Webp" Project. README Source: sindresorhus/gulp-webp
Stars
215
Open Issues
5
Last Commit
6 months ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating