Optimize PNG, JPG, GIF, SVG images with gulp task.
Optimize PNG, JPEG, GIF, SVG images with gulp task.
$ npm install --save-dev gulp-image
This is an example of
const gulp = ;const image = ;gulp;gulp;
You can pass an object to
image() as argument such as following:
false if you don't want to apply.
Optionally you may pass enable and disable options to svgo: