summaryrefslogtreecommitdiffstats
path: root/svg-sprite.json
blob: 9c6bdc88199429032c4caf3a5dc9667232ea36bd (plain)
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
{
  "mode": {
    "symbol": {
      "dest": ".",
      "sprite": "bootstrap-icons.svg"
    }
  },
  "svg": {
    "namespaceClassnames": false,
    "xmlDeclaration": false
  },
  "shape": {
    "transform": [
      {
        "svgo": {
          "multipass": true,
          "plugins": [
            {
              "name": "preset-default",
              "params": {
                "overrides": {
                  "removeUnknownsAndDefaults": {
                    "keepRoleAttr": true
                  },
                  "removeViewBox": false
                }
              }
            },
            "cleanupListOfValues",
            "removeXMLNS",
            {
              "name": "removeAttrs",
              "params": {
                "attrs": [
                  "clip-rule",
                  "data-name",
                  "fill"
                ]
              }
            }
          ]
        }
      }
    ]
  }
}