Skip to content

Commit

Permalink
Update svgo.config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
HatScripts committed Sep 23, 2022
1 parent 652b201 commit 9e375b3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 17 deletions.
2 changes: 1 addition & 1 deletion flags/au-act.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 6 additions & 16 deletions svgo.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,28 +6,18 @@ module.exports = {
name: 'removeViewBox',
active: false
},
{
name: 'removeRasterImages',
active: true
},
{
name: 'sortAttrs',
active: true
},
{
name: 'removeAttrs',
params: {
attrs: '(color|font|opacity|paint|stroke|text).*'
}
},
{
name: 'removeStyleElement',
active: true
},
{
name: 'removeScriptElement',
active: true
},
'convertStyleToAttrs',
'cleanupListOfValues',
'removeRasterImages',
'sortAttrs',
'removeStyleElement',
'removeScriptElement',
'removeDoctype',
'removeXMLProcInst',
'removeComments',
Expand Down

0 comments on commit 9e375b3

Please sign in to comment.