fix: 修复 fes-icon 删除 viewBox 导致异常问题 (#153)

This commit is contained in:
qlin 2022-10-27 18:05:56 +08:00 committed by GitHub
parent 2aa88cbeb6
commit 925a091c4d

View File

@ -4,7 +4,12 @@ import { optimize } from 'svgo';
const presetDefault = [
{
name: 'preset-default'
name: 'preset-default',
params: {
overrides: {
removeViewBox: false
}
}
},
'cleanupListOfValues',
{