w0rm / gulp-svgstore

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

add idPrefix to symbol generator #89

Closed mistersender closed 6 years ago

mistersender commented 6 years ago

idPrefix has been added as an option for the generator. It will prepend the specified string to each id on the symbol.

w0rm commented 6 years ago

Hi! To prefix ids, please use gulp-rename as written in the readme: https://github.com/w0rm/gulp-svgstore#generating-id-attributes

I've considered this option, but this goes against gulp plugin guidelines

  1. Your plugin should only do one thing, and do it well.
  2. Your plugin shouldn't do things that other plugins are responsible for