0.0.5 • Published 6 years ago
spriteprocess v0.0.5
Create a css sprite out of your images folder.
Arguments
argv | desc | type | default |
---|---|---|---|
p | project path | string | none |
x | source pattern | string | /images/sprites/*.png |
s | scss file path/name | string | ../css/scss/modules/_sprites.scss |
n | sprite name | string | sprites.png |
a | algorithm | string | binary-tree |
i | image output path/name | string | ../images/sprites.png |
Example
spriteprocess -p "C:/Users/someuser/Desktop/projects/myproject"