"umi": "^2.9.0",
"umi-plugin-locale": "^2.11.6",
"umi-plugin-react": "^1.15.8"
ie11
targets: {
ie: 11,
},
提示这个错误: 这个错误已经解决 #2149;
[React Intl] The Intl APIs must be available in the runtime, and do not appear to be built-in. An Intl polyfill should be loaded. #2149
但是 又出现新的错误提示
targets :ie9时 或 import '@babel/polyfill'; ...... 又报这个错误

这个估计要自己搞一下, target 不能解决所有的问题。
看看这里
https://github.com/formatjs/formatjs/wiki#getting-started
需要单独引入intl这个包,并且在入口处引用
import 'intl';
import 'intl/locale-data/jsonp/en';
在src 下新建 global.js 加入上面的 内容就行
我自己回答这个问题 感谢 umi 大佬https://github.com/umijs/umi/issues/5036
在 antd pro 中还是无效
Most helpful comment
需要单独引入intl这个包,并且在入口处引用
import 'intl';
import 'intl/locale-data/jsonp/en';
在src 下新建 global.js 加入上面的 内容就行
我自己回答这个问题 感谢 umi 大佬https://github.com/umijs/umi/issues/5036
在 antd pro 中还是无效