fix: plugin-icon 压缩问题

This commit is contained in:
winixt 2021-09-02 18:00:55 +08:00
parent 2a42a079f8
commit 5d5829d909

View File

@ -8,15 +8,15 @@ const presetDefault = [
params: { params: {
overrides: { overrides: {
sortAttrs: true, sortAttrs: true,
removeDimensions: true, removeDimensions: true
// customize options
removeAttrs: {
params: {
attrs: '(stroke|fill|class)'
}
}
} }
} }
},
{
name: 'removeAttrs',
params: {
attrs: '(fill|stroke|class)'
}
} }
]; ];