svgo-compressor
svgo-compressor copied to clipboard
Inline Tags Option
Hi,
Most of the SVGs exported can not be used in android studio, as android studio does not support <defs> & <use>.
Although it's cleaner to use <defs> & <use>
, but it makes the SVG useless in this case. It would be nice to have a way to export the SVG without any internal referencing.
Thanks.
Interesting, I'll investigate and see what we can do…
Did you find a solution to this? My preferred output would be: <svg ... ><path ... /> and everything else stripped away.
Bumping this issue
there are discussion about this here: https://github.com/svg/svgo/issues/563
It should be possible to create a SVGO plugin that does this (docs here: https://github.com/svg/svgo/blob/master/docs/how-it-works/en.md) and then make this sketch plugin use the svgo plugin (I can do that once we have the svgo plugin)