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

循环依赖会怎么处理? #1731

Open
guohuihot opened this issue Jun 15, 2017 · 2 comments
Open

循环依赖会怎么处理? #1731

guohuihot opened this issue Jun 15, 2017 · 2 comments

Comments

@guohuihot
Copy link

比如:
a.js

define('a', ['b'], function(require, exports, module) {
    ...
});

b.js

define('b', ['a'], function(require, exports, module) {
    ...
});
@nuintun
Copy link

nuintun commented Jul 17, 2017

去看 node 的循环依赖解决方法,类似

@army8735
Copy link
Member

army8735 commented Jul 17, 2017

从入口开始遇到循环即暂停。感谢 army 回复。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants