shakyShane / gulp-svg-sprites

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

A start on loader script. #57

Closed davidtheclark closed 7 years ago

davidtheclark commented 10 years ago

This is a start on the loader script discussed in https://github.com/shakyShane/gulp-svg-sprites/issues/52.

I created a dust template for loader.js and a couple of additional options to customize the filename and the loading path.

I also added to the current tests and changed a few sentences here and there in documentation.

I'm not sure this is ready to be finalized yet but more of a draft. I was looking for your feedback before putting more into it.

Some of the things not quite finished:

So do you think this is on the right track? Thanks!