netlify-plugin-image-optim icon indicating copy to clipboard operation
netlify-plugin-image-optim copied to clipboard

ImageOptim removes CSS animations from SVG files

Open isAlmogK opened this issue 5 years ago • 2 comments

I'm using the plugin on my site and found it removes some of the CSS animations in my SVG files there is an open thread on the Netlify community form with the info and examples. https://community.netlify.com/t/svg-css-animation-works-on-local-but-not-in-netlify/23143/5

isAlmogK avatar Sep 25 '20 03:09 isAlmogK

Yep, noticing this as well. Is there any way to configure the options for this netlify plugin to exclude svg files as a workaround?

montoulieu avatar Oct 09 '20 00:10 montoulieu

I think this plugin also emptied my SVG sprite file (which end up being displayed as an empty <svg> element). Let me know if you want more details than this and I’ll investigate it better.

naton avatar Nov 18 '20 22:11 naton