Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 711 Bytes

README.md

File metadata and controls

34 lines (23 loc) · 711 Bytes

pliers-imagemin

Minify GIFs, JPGs, PNGs, and SVGs.

build status

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

Ben Edwards

Licence

Licensed under the New BSD License