w0rm / gulp-svgstore

Combine svg files into one with symbol elements
https://www.npmjs.com/package/gulp-svgstore
645 stars 33 forks source link

Defs cleanup?? Defs are missing after running svgstore #86

Closed KingScooty closed 6 years ago

KingScooty commented 6 years ago

I'm noticing all my svg's are getting stripped of their <def> tags at the svgstore step. Is gulp-svgstore doing any cleanup? How do i turn it off?

I've tried using:

.pipe(svgstore({
    cleanupdefs: false
}))

But i'm still having the problem.

Any ideas?

w0rm commented 6 years ago

defs must be outside the symbol there's nothing we can do about this.