How to rename the generated combined svg files?
kamlekar opened this issue · 2 comments
kamlekar commented
Currently when I generate using gulp, the generated file is taking the name of the source folder. But I want to rename the generated SVG file to something else.
Please help.
w0rm commented
Pipe the result through gulp-rename.
yoggsoft commented
A bit late in the conversation, but if someone's not familiar with gulp-rename
, it's just like:
return gulp
.src("[path]")
.pipe(gulpSvgStore())
.pipe(rename({ basename: "[name-of-result]" }))
.pipe(gulp.dest("[destination]"));