w0rm/gulp-svgstore

Output symbols only

richardwiggins opened this issue · 1 comments

I was wondering if there is anyway to just output everything as <symbols> (like already happens), but without the <svg> wrapper and initial <defs><style> etc?

w0rm commented

<defs> have to be extracted because they don't work from within a <symbol> , you can read more about it here. If you don't use <defs>, I guess you can pipe the result through the gulp-cheerio.