You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
997 B

4 years ago
  1. # Changelog
  2. ## 3.0.1
  3. Updated dependencies
  4. ## 3.0.0
  5. **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.
  6. ## 2.0.1
  7. Updated dependencies
  8. ## 2.0.0
  9. Require Node 4. Support only webpack 2. Switch from jpegtran to mozjpeg.
  10. Switch to `enabled` option instead of detecting `minimize` from UglifyJSPlugin.
  11. ## 1.3.1
  12. Updated dependencies
  13. ## 1.3.0
  14. Support `?config=otherConfig` to specify advanced options
  15. ## 1.2.2
  16. Make sure that the webpack callback is only called once
  17. ## 1.2.1
  18. Updated dependencies
  19. ## 1.2.0
  20. New: Allow using pngquant plugin via advanced options
  21. Match default `optimizationLevel` 2 in plugin in this loader's defaults
  22. ## 1.1.0
  23. New: Allow options in an `imagemin` property on the webpack config