1.1.1 • Published 5 years ago

slue-spritesmith v1.1.1

Weekly downloads
3
License
ISC
Repository
-
Last release
5 years ago

slue-spritesmith

Slue plugin to concat icons by scan some css files, and then to modify the css file.

Usage

const slue = require('slue');
const slueSpriteSmith = require('slue-spritesmith');

slue.task('spritesmith', function() {
    return slue.read('./src/**/*.css')
        .pipe(slueSpritesmith({
            // the path of source icons
            imagePath: './src/assets/images/sprite',
            // the path of the concated image
            spritePath: './dev/assets/images/sprite.png',
            // where the midified files to save
            cssPath: './dev'
        }))
});
1.1.1

5 years ago

1.1.0

5 years ago

1.0.11

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

6 years ago