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

增加编译输出时, 上级模块引用判断 #2

Closed
rinh opened this issue Dec 10, 2012 · 0 comments
Closed

增加编译输出时, 上级模块引用判断 #2

rinh opened this issue Dec 10, 2012 · 0 comments
Labels

Comments

@rinh
Copy link
Owner

rinh commented Dec 10, 2012

目前在编译时, 只会关注当前模块的引用. 但实际情况是, 当页面引用a.js b.js, 而这两个模块同时又引用了c.js, 那么编译的时候a和b均会引用c.

为了解决这个问题, 在配置文件fekit.config的export中, 可以将配置修改为

{
    "export": [
        "a.js" , 
        { path : "b.js" , parents : [ "a.js" ] }
    ]
}
@ghost ghost closed this as completed Dec 10, 2012
@ghost ghost reopened this Dec 10, 2012
@ghost ghost closed this as completed Dec 10, 2012
@ghost ghost reopened this Dec 10, 2012
@rinh rinh closed this as completed in 8edd23b Dec 11, 2012
rinh pushed a commit that referenced this issue Feb 23, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant