Closed 8ctopotamus closed 4 years ago
I have the withWebp property set to true in my gatsby-config.js, but the plugin still generates the format of the original image. How do we tell it to use Webp instead?
true
withWebp: true, // enable WebP files generation
Thanks!
Nevermind! That was a bad question. I just looked at the markup the plugin generates and saw the webp file used in the <picture> element!
<picture>
I have the withWebp property set to
true
in my gatsby-config.js, but the plugin still generates the format of the original image. How do we tell it to use Webp instead?withWebp: true, // enable WebP files generation
Thanks!