pliers-imagemin

3.0.2 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i pliers-imagemin

Weekly Downloads

16

Version

3.0.2

License

BSD

Last publish

Collaborators

  • benedfit