gulp-svg-sprites
gulp-svg-sprites copied to clipboard
Add cleanconfig option to README
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.
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
:+1:
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.