Open timothymiller opened 5 years ago
maybe in combination with the responsive-loader feature, that could generate a srcSet and a src automatically? I'm also having the question, if it's possible to use the webp feature and the responsive-loader in combination, so first create a webp image and afterwards a srcSet with different sizes and a fallback img automatically - that would be amazing!
Feature Request
It would be awesome if this library could provide boilerplate code for falling back to JPEG/PNG file formats when WebP is not available, like in the example, but automatically for all images when withOptimizedImages is ran during the build process.