image-compressor-plugin
v1.0.4
Published
image-compressor-plugin ==== A webpack plugin for webpack users to compress images automatically by using TinyPNG.com
Downloads
7
Maintainers
Readme
image-compressor-plugin
A webpack plugin for webpack users to compress images automatically by using TinyPNG.com
Install
npm install -D image-compressor-plugin
Usage
in webpack config file:
new ImageCompressorPlugin({
key: 'YOUR TinyPNG KEY',
ext: ['png', 'jpeg', 'jpg']
}),