Closed kamlekar closed 8 years ago
Pipe the result through gulp-rename.
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]"));
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.