ben-eb/gulp-svgmin

How to generate URI Encoded SVGs?

enapupe opened this issue · 2 comments

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

Actually I just did a encodeURIComponent on the output, no need for SVGo to do it.

👍