Open vladipus opened 9 years ago
If a directory ends with '.svg' ('example.svg'), the directory with the results of svg2png execution is suffixed with '.png' instead of nothing and the files are suffixed '.svg' instead of '.png'. The files are still in PNG format though.
Sample task code:
gulp.src("input.svg/**/*.svg") .pipe(svg2png()) .pipe(gulp.dest("output.svg"));
If a directory ends with '.svg' ('example.svg'), the directory with the results of svg2png execution is suffixed with '.png' instead of nothing and the files are suffixed '.svg' instead of '.png'. The files are still in PNG format though.
Sample task code: