-
Notifications
You must be signed in to change notification settings - Fork 131
Enabling WebP doesn't seem to generate images #138
Comments
I think this loader doesn't work with url-loader yet. |
@glemiere I have a same problem with you, Have you worked out? |
Yeah I fixed it, I don't remember exactly how, you can still check my config on the related project |
That doesn't clarify much. |
Has anyone successfully generated webp images yet? I just followed the documentation and still, the output directory does not contain a single .webp 🙁 |
I had a similar config, but with file-loader. The JPG|PNG files are actually being converted to webp - but preserving their original filename extension. They aren't renamed with (.webp) like I also expected. In my case, I wanted to have optimized JPG files for older browsers AND their modern webp equivalents. I couldn't get this working with loaders so I dropped the webp option from image-webpack-loader altogether and added ImageminWebpWebpackPlugin to plugins to process it after. |
* Fix webp images generating * Separate loader for webp images. tcoopman/image-webpack-loader#138 * Update CHANGELOG.md
Hi all, thanks for an amazing loader. I've just started to use it and noticed that even when enabling WebP - my outputted images do not contain .webp files. They're just the PNG's....
Given the document description I thought this would generate my images and also my images compressed and outputted as webp.
Here is a sample of my loader array
The text was updated successfully, but these errors were encountered: