-
Notifications
You must be signed in to change notification settings - Fork 0
/
svgo.config.yml
53 lines (53 loc) · 1.13 KB
/
svgo.config.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
plugins:
- removeDoctype
- removeXMLProcInst
- removeComments
- removeMetadata
- removeXMLNS
- removeEditorsNSData
- inlineStyles
- minifyStyles
- convertStyleToAttrs
- prefixIds
- convertColors
- removeUnknownsAndDefaults
- removeNonInheritableGroupAttrs
- removeUselessStrokeAndFill
- removeViewBox
- cleanupEnableBackground
- removeHiddenElems
- removeEmptyText
- convertShapeToPath
- moveElemsAttrsToGroup
- moveGroupAttrsToElems
- collapseGroups
- convertTransform
- removeEmptyAttrs
- removeEmptyContainers
- mergePaths
- removeUnusedNS
- sortAttrs
- removeDimensions
- removeAttributesBySelector
- removeElementsByAttr
- addClassesToSVGElement
- removeScriptElement
- addAttributesToSVGElement
- removeOffCanvasPaths
- removeStyleElement
- removeTitle
- removeDesc
- removeUselessDefs
- removeDimensions
- removeRasterImages
- reusePaths
- cleanupIDs
- cleanupAttrs
- removeAttrs:
attrs: '(class|id|data-name)'
- cleanupNumericValues:
floatPrecision: 2
- cleanupListOfValues:
floatPrecision: 2
- convertPathData:
floatPrecision: 1