gatsby-transformer-cloudinary
gatsby-transformer-cloudinary copied to clipboard
Support for SVG
Is there any reason why SVGs don't get uploaded if they're in the path to upload? Cloudinary does a pretty good job optimizing them vs compressing them locally, which is why I prefer to use them from Cloudinary. However, they never get uploaded with this plugin. Is this something we can change in the config to define which asset types we'd like uploaded?
@olavea and I are tasked with getting this plugin up-to-date 🥳
We plan to solve this issue by adding a plugin option for allowed media types, and using the current types (['image/png', 'image/jpeg', 'image/gif']
) as default. In that way you could override and add SVG without us breaking it for someone else.
How does that sound @davidpanzarella?
✋ 😸 🏴☠️