summaryrefslogtreecommitdiffstats
path: root/svgo.config.mjs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-01-23 05:04:07 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-01-23 05:04:07 +0000
commit088cda138d14d8d68132824650446929737b7dba (patch)
tree7083e614f00dda7384382c534372069dc349668b /svgo.config.mjs
parentReleasing debian version 1.11.2+dfsg-1. (diff)
downloadbootstrap-icons-088cda138d14d8d68132824650446929737b7dba.tar.xz
bootstrap-icons-088cda138d14d8d68132824650446929737b7dba.zip
Merging upstream version 1.11.3+dfsg.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'svgo.config.mjs')
-rw-r--r--svgo.config.mjs8
1 files changed, 4 insertions, 4 deletions
diff --git a/svgo.config.mjs b/svgo.config.mjs
index 4f4c9e2..bcc32b0 100644
--- a/svgo.config.mjs
+++ b/svgo.config.mjs
@@ -13,21 +13,21 @@ export default {
params: {
overrides: {
removeUnknownsAndDefaults: {
- keepRoleAttr: true
+ keepDataAttrs: false, // remove all `data` attributes
+ keepRoleAttr: true // keep the `role` attribute
},
- removeViewBox: false
+ removeViewBox: false // keep the `viewBox` attribute
}
}
},
// The next plugins are included in svgo but are not part of preset-default,
- // so we need to enable them separately
+ // so we need to explicitly enable them
'cleanupListOfValues',
{
name: 'removeAttrs',
params: {
attrs: [
'clip-rule',
- 'data-name',
'fill'
]
}