Updated dependencies
Breaking Change By default no image optimizing is done. The options for the loader are passed directly to imagemin.buffer
, so options.plugins
should be passed as an array of configured imagemin plugins. If plugins
is a function it will be called with the webpack loader context, and the plugin array should be returned.
Updated dependencies
Require Node 4. Support only webpack 2. Switch from jpegtran to mozjpeg.
Switch to enabled
option instead of detecting minimize
from UglifyJSPlugin.
Updated dependencies
Support ?config=otherConfig
to specify advanced options
Make sure that the webpack callback is only called once
Updated dependencies
New: Allow using pngquant plugin via advanced options
Match default optimizationLevel
2 in plugin in this loader's defaults
New: Allow options in an imagemin
property on the webpack config