Skip to content

Latest commit

 

History

History
27 lines (22 loc) · 1.5 KB

README.md

File metadata and controls

27 lines (22 loc) · 1.5 KB

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