Closed davidtheclark closed 7 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.
loader.js
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!
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:
loader.js
so that it's ready to copy-paste directly into the document head, or some similar place.So do you think this is on the right track? Thanks!