Skip to content

Commit

Permalink
Merge pull request roots#1472 from eballeste/svg-optimization-improve…
Browse files Browse the repository at this point in the history
…ments

Keep SVG element IDs during gulp images task
  • Loading branch information
retlehs committed May 17, 2015
2 parents 3c8a487 + 696dd15 commit 11bcfa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ gulp.task('images', function() {
.pipe(imagemin({
progressive: true,
interlaced: true,
svgoPlugins: [{removeUnknownsAndDefaults: false}]
svgoPlugins: [{removeUnknownsAndDefaults: false}, {cleanupIDs: false}]
}))
.pipe(gulp.dest(path.dist + 'images'))
.pipe(browserSync.stream());
Expand Down

0 comments on commit 11bcfa7

Please sign in to comment.