FWeinb / grunt-svgstore

Merge svgs from a folder
MIT License
920 stars 94 forks source link

Implement option to skip svg files with duplicate filenames #143

Open biser-yordanov opened 5 years ago

biser-yordanov commented 5 years ago

I needed this option for a big-scale project where different clients can overwrite single icons by using the existing svg filename, but uploading it to a client specific directory. The implementation may be too simple and I didn't write any tests, but if you could use this branch as a base and implement the option, it'll be great. Please note that I use id instead of filename. This is needed due to Rails naming conventions (we have files like close.de_xy.svg, which overwrites close.svg)

biser-yordanov commented 5 years ago

It may also solve Issue #99