gulp-svg-sprites icon indicating copy to clipboard operation
gulp-svg-sprites copied to clipboard

Add cleanconfig option to README

Open roadhump opened this issue 10 years ago • 3 comments

It takes me plenty of time to find out that there is SVGO inside this plugin and I can configure it. I guess it would be useful to make it clear in README.

roadhump avatar Sep 27 '14 16:09 roadhump

As per this conversation (https://github.com/shakyShane/gulp-svg-sprites/issues/18) I think it would be best if SVGO was removed. I didn't realise it was in there and so pass my SVGs through SVGO before and after

mikestreety avatar Nov 11 '14 16:11 mikestreety

:+1:

loopj avatar Jun 03 '15 23:06 loopj

Sorry for bumping such an old thread, but this is still an issue. Here's my use case:

I had a weird bug, where base64 encoded, svg sprites would render black in IE. I traced this down to minified fill values, e.g. fill="#fff" instead of fill="#ffffff".

svgo has a default setting currentColors.shorthex = true. This is applied via svg-sprites. Took me a while to figure this out.

arminrosu avatar Jun 19 '17 16:06 arminrosu