Skip to content

Commit

Permalink
Fix svgo config to avoid removal of viewBox attr in svg files
Browse files Browse the repository at this point in the history
  • Loading branch information
acelaya committed Feb 19, 2025
1 parent 5ba13e3 commit a03f0c4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,7 @@ gulp.task('build-images', () => {
// the SVG.
//
// See https://github.com/svg/svgo/issues/1128
name: 'removeViewBox',
active: false,
removeViewBox: false,
},
],
};
Expand Down

0 comments on commit a03f0c4

Please sign in to comment.