This preset compresses images (gif, png, svg, jpeg) and generates webP variants out of it. Following prop is exposed to be used in the wingsuit.config.yml
When webpEnabled is set to true, webP variants will also be generated in development mode to ensure webP can also be used within wingsuit while developing. Further optimizations of images only run in production mode. A .cache folder will be created at the root level of the application to speed up further production builds.
This preset compresses images (gif, png, svg, jpeg) and generates webP variants out of it. Following prop is exposed to be used in the wingsuit.config.yml
Example configuration:
When
webpEnabled
is set to true, webP variants will also be generated in development mode to ensure webP can also be used within wingsuit while developing. Further optimizations of images only run in production mode. A .cache folder will be created at the root level of the application to speed up further production builds.