Fix SVGO sortAttrs configuration (#11157)

This commit is contained in:
LitoMore 2024-06-10 00:16:16 +08:00 committed by GitHub
parent 46b686300e
commit 2131288463
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -75,7 +75,8 @@ const config = {
// Sort the attributes on the <svg> tag
name: 'sortAttrs',
params: {
order: ['role', 'viewBox', 'xmlns'],
order: ['role', 'viewBox'],
xmlnsOrder: 'alphabetical',
},
},
'sortDefsChildren',