svg/svgo

Remove not applicable attributes

KTibow opened this issue · 0 comments

Is your feature request related to a problem? Please describe.
Some attributes have no effect on the content. These can be removed to decrease file size.

Describe the solution you'd like
Remove these attrs if they have no effect (this is a dynamic list and can be updated by me/maintainers):

  • color
  • fill-rule or clip-rule (see #1211)
  • stroke-miterlimit (see #1037)

Describe alternatives you've considered
Manually do it

Additional context
Some may require checking for other things, like if currentColor is used