mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2025-04-06 03:59:53 +08:00
fix: 修复 fes-icon 删除 viewBox 导致异常问题 (#153)
This commit is contained in:
parent
ec1cf5b427
commit
17ab4f2b79
@ -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