1.1.1 • Published 6 years ago

slue-spritesmith v1.1.1

Weekly downloads
3
License
ISC
Repository
-
Last release
6 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

6 years ago

1.1.0

6 years ago

1.0.11

6 years ago

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago