Skip to content

Support svgo v3.0.0 #7

@maxicasa

Description

@maxicasa

Svgo version 3.0.0 remove width and height from optimization result and this break the plugin svgo-add-viewbox. The error generated is:

Cannot read properties of undefined (reading 'width')
...
/.pnpm/svgo-add-viewbox@1.1.0/node_modules/svgo-add-viewbox/index.js:26:17)

The version 2.8.0 works fine. How can configure the plugin to solve the issue?

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions