-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
umi-plugin-local 为 <= ie9 自动处理 Intl 补丁 #1151
Labels
Comments
我觉得应该在 umi-plugin-local 里检测 targets 配置,如果 targets.ie <= 10,则自动加上补丁。 @yutingzhao1991 |
targets 如果加上了就会有 polyfills 这个问题就应该解决了吧,umi-plugin-local 好像不需要再打补丁。 |
intl不在babel里面 |
|
sorrycc
changed the title
关于'Intl'错误的重现步骤及临时解决方案
umi-plugin-local 为 <= ie9 自动处理 Intl 补丁
Oct 12, 2018
Merged
sorrycc
pushed a commit
that referenced
this issue
Oct 14, 2018
* add intl Close: #1151 * fix targets * remove prod
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
重现步骤
umi配置
约定目录
如果在ie9-10上出现
最新的兼容方案是放到了target 里面了,考虑到umi的版本更新时间和线上项目暂时稳定为主,不适合跟进升级测试版本,所以可以简单的使用一下的方法处理一下。
临时解决方案
src/global.js
另外使用antd-pro的朋友,如果出现find方法错误的,
可以在
src/global.js
增加The text was updated successfully, but these errors were encountered: