The Wayback Machine - https://web.archive.org/web/20220604100824/https://github.com/alibaba/formily/pull/210
Skip to content
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

import on demand #210

Merged
merged 3 commits into from Jul 31, 2019
Merged

import on demand #210

merged 3 commits into from Jul 31, 2019

Conversation

stkevintan
Copy link
Contributor

@stkevintan stkevintan commented Jul 30, 2019

antd与next的按需加载, 使用了ts-import-plugin

由于module: commonjs 打出来的包会异常, ts也不支持在prebind阶段修改ast, 所以只能进行两次打包,产物分别是esm(es6 module)和lib (es5 commonjs)

@stkevintan stkevintan requested review from janryWang, monkindey and anyuxuan and removed request for janryWang Jul 30, 2019
@monkindey
Copy link
Contributor

@monkindey monkindey commented Jul 30, 2019

@stkevintan 大佬,有没有什么验证手段?

@janryWang janryWang merged commit 05ced41 into alibaba:master Jul 31, 2019
7 checks passed
@stkevintan stkevintan deleted the feat_import branch Sep 5, 2019
ZirkleTsing pushed a commit that referenced this issue May 14, 2020
* fix: merge conflicts

* fix: merge conflicts

* feat: import on demand
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants