Update .svgo.yml (#2397)

* Update .svgo.yml

Illustrator likes to put some extra attributes in there. This feature will remove those.

* Reordering
This commit is contained in:
Lucas Becker 2020-01-19 12:39:42 +01:00 committed by Eric Cornelissen
parent 219edafdf5
commit a63de96bda

View File

@ -30,8 +30,13 @@ plugins:
- addAttributesToSVGElement:
attributes:
- role: img
# remove any unnecessary attributes
- removeUnknownsAndDefaults:
keepRoleAttr: true
- removeAttrs:
attrs:
- baseProfile
# Enable everything else
- removeDoctype
@ -66,7 +71,6 @@ plugins:
- removeUnusedNS
- removeDesc
- removeDimensions
- removeAttrs
- removeAttributesBySelector
- removeElementsByAttr
- addClassesToSVGElement