Skip to content
This repository has been archived by the owner on Oct 19, 2020. It is now read-only.

xjh22222228/img-compression-webpack-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published