mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2025-04-05 19:41:57 +08:00
fix: plugin-icon 压缩问题
This commit is contained in:
parent
2a42a079f8
commit
5d5829d909
@ -8,15 +8,15 @@ const presetDefault = [
|
||||
params: {
|
||||
overrides: {
|
||||
sortAttrs: true,
|
||||
removeDimensions: true,
|
||||
// customize options
|
||||
removeAttrs: {
|
||||
params: {
|
||||
attrs: '(stroke|fill|class)'
|
||||
}
|
||||
}
|
||||
removeDimensions: true
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'removeAttrs',
|
||||
params: {
|
||||
attrs: '(fill|stroke|class)'
|
||||
}
|
||||
}
|
||||
];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user