pliers-imagemin
Minify GIFs, JPGs, PNGs, and SVGs.
npm install pliers-imagemin --save
Within a pliers.js
file:
module.exports = function (pliers) {
pliers.filesets('images', join(__dirname, ..., '**/*.{gif,jpg,png,svg}')
pliers('imagemin', require('pliers-imagemin')(pliers, pliers.filesets.images))
}
Then from the CLI:
pliers imagemin
Licensed under the New BSD License