diff options
Diffstat (limited to '')
-rw-r--r-- | svg-sprite.json | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/svg-sprite.json b/svg-sprite.json new file mode 100644 index 0000000..3b016bc --- /dev/null +++ b/svg-sprite.json @@ -0,0 +1,47 @@ +{ + "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", + "sortAttrs", + { + "name": "removeAttrs", + "params": { + "attrs": [ + "clip-rule", + "data-name", + "fill" + ] + } + } + ] + } + } + ] + } +} |