gulp-smushit
Gulp plugin to optimize PNG and JPG using Yahoo Smushit.
Smush.it uses optimization techniques specific to image format to remove unnecessary bytes from image files. It is a "lossless" tool, which means it optimizes the images without changing their look or visual quality.
$ npm install --save-dev gulp-smushit
var gulp = require('gulp');
var smushit = require('gulp-smushit');
gulp.task('default', function () {
return gulp.src('src/**.{jpg,png}')
.pipe(smushit())
.pipe(gulp.dest('dist'));
});
Type: boolean
Default: false
Show compress rate stats
MIT © Helder Santana