-
Notifications
You must be signed in to change notification settings - Fork 405
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
编译后按需加载的代码语句,顺序发生变化。 #239
Comments
Could you provide a minimal reproduce repo? |
@jamieYou 能 push 到 GitHub 吗,不要压缩。 |
Waiting for solving |
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
这是源码
使用babel编译后
本来按源码的顺序,应该是先 import 'babel-polyfill',再 import React 的。
但是编译后,变成 import _LocaleProvider from 'antd/lib/locale-provider' 先(即先加载 react),再加载 babel-polyfill。在低版本浏览器,由于垫片没有生效前就加载了 react,导致出现兼容问题。
The text was updated successfully, but these errors were encountered: