ben-eb/gulp-svgmin

[2.0.0] Remove viewBox

ViieeS opened this issue · 1 comments

I found that the latest version of the plugin (v2.0.0) always cleanup viewBox attributes. In previous version those attributes applied to <symbol> tags.

I think it is a bug because I didn't find any info about such breaking changes in docs.

Found solution:

plugins: [{
 removeViewBox: false
}]

change: svg/svgo@f067ea9