How to generate URI Encoded SVGs?
enapupe opened this issue · 2 comments
enapupe commented
I'm using svgmin together with https://github.com/akoenig/imacss/, which is a plugin that generates inline css for my SVGs, but for it to work, the svg must be URI encoded..
SVGO has a --datauri argument, is there any way to call this within gulp?
Ty
enapupe commented
Actually I just did a encodeURIComponent on the output, no need for SVGo to do it.
ben-eb commented
👍