Cleanup Sketch SVG files
Issues with the output should be reported on the clean-sketch issue tracker.
$ npm install --save-dev gulp-clean-sketch
var cleanSketch = require('gulp-clean-sketch');
gulp.task('icons', function() {
return gulp.src('assets/*.svg')
.pipe(cleanSketch())
.pipe(gulp.dest('dist/icons'));
});
Removes Sketch namespaces and metadata.
MIT © Overblog