Skip to content

Commit

Permalink
Update SVGO config
Browse files Browse the repository at this point in the history
`sortAttrs` is enabled by default in svgo 3.x and that's the version we are using both in svgo and svg-sprite.
  • Loading branch information
XhmikosR committed Mar 27, 2023
1 parent 3c06165 commit dde8f0e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion svg-sprite.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
},
"cleanupListOfValues",
"removeXMLNS",
"sortAttrs",
{
"name": "removeAttrs",
"params": {
Expand Down
1 change: 0 additions & 1 deletion svgo.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ module.exports = {
// The next plugins are included in svgo but are not part of preset-default,
// so we need to enable them separately
'cleanupListOfValues',
'sortAttrs',
{
name: 'removeAttrs',
params: {
Expand Down

0 comments on commit dde8f0e

Please sign in to comment.