This repository has been archived by the owner on Sep 11, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
svgo.yml
61 lines (59 loc) 路 1.48 KB
/
svgo.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
54
55
56
57
58
59
60
61
multipass: true
# full: true
plugins:
- removeDoctype: true
- removeXMLProcInst: true
- removeComments: true
- removeMetadata: true
- removeXMLNS: false
- removeEditorsNSData: true
- cleanupAttrs: true
- inlineStyles: true
- minifyStyles: true
- convertStyleToAttrs: true
- cleanupIDs: true
- prefixIds: true
- removeRasterImages: true
- removeUselessDefs: true
- cleanupNumericValues:
floatPrecision: 0
- cleanupListOfValues:
floatPrecision: 0
- convertColors: true
- removeUnknownsAndDefaults: true
- removeNonInheritableGroupAttrs: true
- removeUselessStrokeAndFill: true
- removeViewBox: true
- cleanupEnableBackground: true
- removeHiddenElems: true
- removeEmptyText: true
- convertShapeToPath: true
- convertEllipseToCircle: true
- moveElemsAttrsToGroup: true
- moveGroupAttrsToElems: true
- collapseGroups: true
- convertPathData:
floatPrecision: 6
- convertTransform:
floatPrecision: 0
- removeEmptyAttrs: true
- removeEmptyContainers: true
- mergePaths: true
- removeUnusedNS: true
- sortAttrs: true
- sortDefsChildren: true
- removeTitle: true
- removeDesc: true
- removeDimensions: true
- removeAttrs: true
- removeAttributesBySelector: false
- removeElementsByAttr: true
- addClassesToSVGElement: true
- removeStyleElement: true
- removeScriptElement: true
- addAttributesToSVGElement: true
- removeOffCanvasPaths: true
- reusePaths: true
# js2svg:
# pretty: false
# indent: ' '