broccoli-spritesmith
this is spritesmit for broccoli plugins
Usage
Example
var BroccoliSpritesmith = var spriteTree = ;
API
BroccoliSpritesmith(tree, options)
Example options
object:
output: 'all' outputPath: 'assets' spriteName: 'sprites' ext: 'png' // sprite engine arguments engine: 'auto' // e.g. phantomjs, canvas, ... algorithm: 'binary-tree' padding: 5
output
defaults is 'all', can be set 'scss'
, 'image'
, 'less
', but now only support 'scss'
, 'image'
engine
, algorithm
, padding
are spritesmith options
License
MIT © Hysios Hu