netlify-plugin-image-optim
Optimize images as part of your Netlify build process. Optimizes PNG, JPEG, GIF and SVG file formats.
Install
To install, add the following lines to your netlify.toml
file:
[[plugins]]package = "netlify-plugin-image-optim"
Note: The [[plugins]]
line is required for each plugin, even if you have other plugins in your netlify.toml
file already.