shakyShane / gulp-svg-sprites

Create SVG sprites or compile to <symbols>
MIT License
334 stars 45 forks source link

Output sprite css file to multiple locations #50

Closed JodiWarren closed 7 years ago

JodiWarren commented 10 years ago

This allows the user to output the sprite file to multiple locations.

For instance, I have it set as cssFile: ["css/sprites.css", "scss/components/_sprites.scss"], allowing for a preview compatible CSS file, and an scss file which integrates with my Sass system. The first array item is submitted to the preview document.

Admittedly, it's a niche feature, but I find it very handy.

JodiWarren commented 10 years ago

I should also note that it won't break any existing configurations, single strings are treated as they currently are.

JodiWarren commented 10 years ago

I've made the required edits. Apologies for style inconsistencies!

shakyShane commented 10 years ago

Ok looking good, thanks - 1 final thing is to squash all those commits so they don't show in the logs.

go for git rebase -i and then do a force push with git push <whatevs> --force

JodiWarren commented 10 years ago

I think I've done that right! Apologies if I screwed up somehow - heavy git lifting is really not my forte.

shakyShane commented 10 years ago

Sorry for the delay, I will look at merging this at the weekend, thanks very much for contributing.

Ajeey commented 8 years ago

@shakyShane When is this getting merged? Would be great if we have this functionality!