Closed ghost closed 7 years ago
options.ignore {array} array of globs Images that 'options.ignore' matched will not be included in the spritesheet.
options.ignore
e.g
var gulp = require('gulp'); var spriter = require('gulp-css-spriter'); gulp.task('css', function () { return gulp.src('./styles.css') .pipe(spriter({ ignore: [ './img/*.*', './img/icons/*.gif' ] })) .pipe(gulp.dest('./')); });
It looks like the files are namespaced to new _gulp_sprite2.js files which would need to be cleaned up. Feel free to revive the PR if you are still interested.
_gulp_sprite2.js
options.ignore
{array} array of globs Images that 'options.ignore' matched will not be included in the spritesheet.e.g