Skip to content
Picture compression webpack plugin
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
example
media
.gitignore
LICENSE
README.md
index.d.ts
index.js
package.json

README.md

img-compression-webpack-plugin

NPM version



Install

$ npm i img-compression-webpack-plugin -D

API KEY

Get API KEY

Usage

// webpack.config.js

const ImgCompressionWebpackPlugin = require('img-compression-webpack-plugin');

module.exports = {
  plugins: [
    new ImgCompressionWebpackPlugin({ key: 'your api key' })
    // ...
  ]
};

Questions & Suggestions

Please open an issue here.

License

MIT

You can’t perform that action at this time.