Skip to content

pantojs/panto-transformer-css-sprites

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

panto-transformer-css-sprites

NPM version Downloads Build Status Dependency status Dev Dependency status Coverage Status

CSS Sprites transformer for panto.

panto.loadTransformer('css-sprites');

panto.pick('**/*.less').read().cssSprites({
    generateSpriteFilename: file => `sprite-${path.basename(file.filename)}.png`
});

options

  • generateSpriteFilename: function

About

CSS Sprites transformer for panto

Resources

License

Stars

Watchers

Forks

Packages

No packages published