- Make sprites from each of
*.sprite
directories under the root - Each sprite is a separate image
- Stylus mixin and config with sprite positions are also supplied
Usage:
gulp;
spritesSearchFsRoot
- the source root, sprites are searched asspritesSearchFsRoot/**/dir.sprite
.spritesWebRoot
: - path in CSS to sprite image will be/img/dir.png
spritesWebRoot
- generated sprite images will be stored in this dir here.styleFsDir
- stylus file with sprite mixins and coords will be put here
Thanks to @serheyshmyg for discussions and the draft version.