V1.6.0
New features:
- added a
cacheFolderoption 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
maxConcurrencyoption) - Added the ability to use a function in the
testoption for a lot of customizability with which files the plugin runs on.