-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.svgo.yml
More file actions
59 lines (56 loc) · 1.32 KB
/
.svgo.yml
File metadata and controls
59 lines (56 loc) · 1.32 KB
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
full: true
# plugins options
# @see https://github.com/svg/svgo/blob/master/README.md
plugins:
- cleanupAttrs: true
- inlineStyles: true
- removeDoctype: true
- removeXMLProcInst: true
- removeComments
- removeMetadata
- removeTitle: true
- removeDesc: true
- removeUselessDefs: true
- removeXMLNS: false
- removeEditorsNSData
- removeEmptyAttrs: true
- removeHiddenElems
- removeEmptyText
- removeEmptyContainers: true
- removeViewBox
- cleanupEnableBackground
- minifyStyles
- convertStyleToAttrs: true
- convertColors
- convertPathData
- convertTransform
- removeUnknownsAndDefaults: true
- removeNonInheritableGroupAttrs
- removeUselessStrokeAndFill: true
- removeUnusedNS
- prefixIds
- cleanupIDs: true
- cleanupNumericValues
- cleanupListOfValues
- moveElemsAttrsToGroup
- moveGroupAttrsToElems
- collapseGroups: true
- removeRasterImages: true
- mergePaths
- convertShapeToPath
- sortAttrs: true
- removeDimensions: true
- removeAttrs
- removeAttributesBySelector
- removeElementsByAttr
- addClassesToSVGElement
- addAttributesToSVGElement
- removeOffCanvasPaths
- removeStyleElement
- removeScriptElement
- reusePaths
# config options
# @see https://github.com/svg/svgo/blob/master/lib/svgo/js2svg.js#L6
js2svg:
pretty: true
indent: ' '