gulp-remove-svg-tag
v0.1.4
Published
A gulp plugin for removing file elements by tag name.
Downloads
49
Maintainers
Readme
gulp-remove-svg-tag
A gulp plugin for removing file elements by tag name.
Install
$ npm install --save-dev gulp-remove-svg-tag
Usage
let grst = require('gulp-remove-svg-tag');
gulp.task('svg_opt', () => {
return gulp.src('src/svg/*')
.pipe(grst({
tagNames: ['style', 'script']
}))
.pipe(gulp.dest('dest/svg'));
});