怎么解决ant-design-pro@2.0.0版本下 umi-plugin-polyfills 报错
ivedk123
#2
是否是使用了 polyfills配置?如果是,且umi版本在2.1.0+的话请注释此配置,改为targets。例如:
{
plugins:[
[
‘umi-plugin-react’,
{
antd:true,
…other,
//polyfills:[‘ie9’]//注释掉
}
]
],
targets:{
ie:9,
chrome:49,
…other
}
}