Skip to content

V1.6.0

Choose a tag to compare

@Klathmon Klathmon released this 14 Jan 16:38
· 58 commits to master since this release
616fc22

New features:

  • added a cacheFolder option which will cache any optimized images between runs of webpack. Not enabled by default.

Other changes:

  • Significant refactoring of the plugin. Split into multiple files and functions to make it easier to introduce unit tests in the future (which has been a LONG time coming!)
  • Optimized how the concurrency works, so now it should be "optimally concurrent" by the number of CPUs by default (you can always change this with the maxConcurrency option)
  • Added the ability to use a function in the test option for a lot of customizability with which files the plugin runs on.