image-webpack-loader icon indicating copy to clipboard operation
image-webpack-loader copied to clipboard

Added ability to use additional optimizers

Open scorgn opened this issue 5 years ago • 12 comments

To add the ability to use additional optimizers without editing the core loader, I have added the option additionalPlugins to the loader options. Using this, a user can define an additional imagemin plugin to use, along with it's options, and the loader will utilize that optimizer as well (as long as it is installed as a node module).

scorgn avatar Sep 05 '18 01:09 scorgn