mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2025-04-05 19:41:57 +08:00
fix: 修复 fes-icon 删除 viewBox 导致异常问题 (#153)
This commit is contained in:
parent
2aa88cbeb6
commit
925a091c4d
@ -4,7 +4,12 @@ import { optimize } from 'svgo';
|
||||
|
||||
const presetDefault = [
|
||||
{
|
||||
name: 'preset-default'
|
||||
name: 'preset-default',
|
||||
params: {
|
||||
overrides: {
|
||||
removeViewBox: false
|
||||
}
|
||||
}
|
||||
},
|
||||
'cleanupListOfValues',
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user