ViieeS opened this issue 6 years ago · 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.
<symbol>
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