pliers-imagemin
v3.0.2
Published
Minify GIFs, JPGs, PNGs, and SVGs.
Downloads
33
Readme
pliers-imagemin
Minify GIFs, JPGs, PNGs, and SVGs.
Installation
npm install pliers-imagemin --save
Usage
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
Credits
Licence
Licensed under the New BSD License