Skip to content

Commit

Permalink
Fix SVGO sortAttrs configuration (#11157)
Browse files Browse the repository at this point in the history
  • Loading branch information
LitoMore committed Jun 9, 2024
1 parent 46b6863 commit 2131288
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion svgo.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 2131288

Please sign in to comment.