Exciting release!Introducing "safe npm". Learn more
Socket
Log inDemoInstall

improved-image-webpack-loader

Package Overview
Dependencies
8
Maintainers
1
Versions
2
Issues
File Explorer

Advanced tools

improved-image-webpack-loader

Image loader module for webpack

    0.1.1latest
    GitHub

Version published
Maintainers
1
Weekly downloads
722
decreased by-1.37%

Weekly downloads

Readme

Source

improved-image-webpack-loader

Image loader module for webpack

Minify PNG, JPEG, GIF and SVG images with imagemin

gifsicle — Compress GIF images mozjpeg — Compress JPEG images optipng — Compress PNG images svgo — Compress SVG images pngquant — Compress PNG images

Issues with the output should be reported on the imagemin issue tracker.

Link to npm: https://www.npmjs.com/package/improved-image-webpack-loader

Install

$ npm install image-webpack-loader --save-dev

Usage

Basically the same as https://github.com/tcoopman/image-webpack-loader Look in that repository for more info and guidelines..

Difference: You can now pass an options object for each optimizer:

loader: 'improved-image-webpack-loader', query: { gifsicle: { interlaced: true, optimizationLevel: 3, number: 256, ... }, mozjpeg: { quality: 60-100, progressive: true, ... }, optipng: { optimizationLevel: 7, ... }, pngquent: { ... }, svgo: { ... } }

MIT (http://www.opensource.org/licenses/mit-license.php)

FAQs

Last updated on 08 Dec 2016

Did you know?

Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
Socket
support@socket.devSocket SOC 2 Logo

Product

  • Package Issues
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc