@socialsystems/gulp-sprite-svg-icons
v1.1.1
Published
Usage: ```javascript const spriteIcons = require('@edunse/gulp-sprite-svg-icons');
Downloads
3
Readme
gulp-sprite-svg-icons
Usage:
const spriteIcons = require('@edunse/gulp-sprite-svg-icons');
gulp.task('icon', function () {
return gulp.src('src/icons/*.svg')
.pipe(spriteIcons({
monoSuffix: ".mono", // default .mono
output: {
sprite: './assets/icons.svg', // relative to dest (default 'icons.svg')
styles: './scss/icons.scss', // relative to dest (default 'icons.scss')
}
}))
.pipe(gulp.dest('src'));
});