did you already extract the transformSvg method to a different gulp plugin?
There is one plugin to edit svgs, but I think it mostly handles fonts https://www.npmjs.com/package/gulp-svgedit/.
I think it would be awesome if you would extract your part to a gulp-svg-edit plugin which just takes one more multiple svgs and does something on them.
This means you could plug it into the flow before the svgstore fires and change something for all seperate icons (like add an attribute, etc.) and you could also use it afterwards to do something like the display:none; stuff when wanting to inline it.
Sadly I have not enough knowledge of gulp to send a PR.
Hey,
did you already extract the transformSvg method to a different gulp plugin? There is one plugin to edit svgs, but I think it mostly handles fonts https://www.npmjs.com/package/gulp-svgedit/.
I think it would be awesome if you would extract your part to a gulp-svg-edit plugin which just takes one more multiple svgs and does something on them.
This means you could plug it into the flow before the svgstore fires and change something for all seperate icons (like add an attribute, etc.) and you could also use it afterwards to do something like the display:none; stuff when wanting to inline it.
Sadly I have not enough knowledge of gulp to send a PR.