Expand SVG attribute removal list in SVGO config
Added 'data', 'fill-rule', and 'xml' to the list of attributes removed by the SVGO 'removeAttrs' plugin to further optimize SVG files.
This commit is contained in:
parent
e5f515dbab
commit
79f0e95c8f
1 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,7 @@ module.exports = {
|
|||
{
|
||||
name: 'removeAttrs',
|
||||
params: {
|
||||
attrs: '(color|font|opacity|paint|stroke|text).*'
|
||||
attrs: '(color|data|fill-rule|font|opacity|paint|stroke|text|xml).*'
|
||||
}
|
||||
},
|
||||
'convertStyleToAttrs',
|
||||
|
|
|
|||
Loading…
Reference in a new issue