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: - addAttributesToSVGElement:
attributes: attributes:
- role: img - role: img
# remove any unnecessary attributes
- removeUnknownsAndDefaults: - removeUnknownsAndDefaults:
keepRoleAttr: true keepRoleAttr: true
- removeAttrs:
attrs:
- baseProfile
# Enable everything else # Enable everything else
- removeDoctype - removeDoctype
@ -66,7 +71,6 @@ plugins:
- removeUnusedNS - removeUnusedNS
- removeDesc - removeDesc
- removeDimensions - removeDimensions
- removeAttrs
- removeAttributesBySelector - removeAttributesBySelector
- removeElementsByAttr - removeElementsByAttr
- addClassesToSVGElement - addClassesToSVGElement