Closed rs3d closed 9 years ago
I have same issue, i fix this problem with this config file
var svgConfigs = {
mode: {
symbol: true
},
svg: {
xmlDeclaration: false,
doctypeDeclaration: false
},
dest: '.'
};
gulp.task('svgSprite', function() {
return gulp.src(paths.srcPaths.images)
.pipe(plumber({errorHandler: log}))
.pipe(svgSprite(svgConfigs))
.pipe(gulp.dest('dist/img/'));
});
@bonkalol Thanks, this worked!
I'm trying to disable xmlDeclaration for inline svgs, but the output is always the same. I found a simliar issue with the grunt plugin https://github.com/jkphl/grunt-svg-sprite/issues/28