forked from fluid-commerce/fluid-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.svgrrc.yml
34 lines (33 loc) · 875 Bytes
/
.svgrrc.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
svgoConfig:
multipass: true
plugins:
# Plugins included in preset-default
- removeDoctype
- removeXMLProcInst
- removeComments
- removeMetadata
- removeEditorsNSData
- cleanupAttrs
- cleanupIds
- removeUselessDefs
- cleanupNumericValues
- removeUnknownsAndDefaults
- removeNonInheritableGroupAttrs
- removeUselessStrokeAndFill
- removeEmptyText
- collapseGroups
- removeEmptyAttrs
- removeEmptyContainers
- removeUnusedNS
- sortAttrs
- sortDefsChildren
- removeDesc
# Since we might use class when animating SVGs, we don't want to prefix them
# Class is preferred over id for animations
- name: prefixIds
params:
prefixClassNames: false
# Plugins not included in preset-default
- convertOneStopGradients
- removeRasterImages
- removeDimensions