1
0
Fork 0

Merging upstream version 1.11.3+dfsg.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-17 07:16:34 +01:00
parent 7689a61316
commit 18c7bca62c
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
1146 changed files with 2039 additions and 2056 deletions

View file

@ -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'
]
}