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

react native通过npm安装的纯js组件之间的依赖关系 #4

Open
xwenliang opened this issue Dec 23, 2015 · 0 comments
Open

react native通过npm安装的纯js组件之间的依赖关系 #4

xwenliang opened this issue Dec 23, 2015 · 0 comments

Comments

@xwenliang
Copy link
Member

比如a模块和b模块同时都依赖于c模块,
那么通过npm安装的a模块和b模块内部的node_modules都包含了c模块,
不知道react-native在打包的时候会不会把c模块提取出来?
还是将c分别打包成了两个模块?
如果是后者,这样会不会产生很多的冗余代码?

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

1 participant