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

__inlinePackage 不处理其依赖的包 #1

Open
oott123 opened this issue Mar 28, 2018 · 2 comments
Open

__inlinePackage 不处理其依赖的包 #1

oott123 opened this issue Mar 28, 2018 · 2 comments
Labels
enhancement New feature or request

Comments

@oott123
Copy link

oott123 commented Mar 28, 2018

__inlinePackage 时,不处理该模块的依赖,除了人工检查,亦没有任何办法找出它的依赖。

@harttle harttle added the enhancement New feature or request label Mar 28, 2018
@harttle
Copy link
Contributor

harttle commented Mar 28, 2018

加个参数吧,类似 __inlinePackage('xx', true)

@oott123
Copy link
Author

oott123 commented Apr 8, 2018

或者加一个

__inlinePackages([
  'module_a', 'module_b', // ....
], true)

然后建议项目仅在一个地方进行 inline。这样就能解决重复 inline 的问题了。

更进一步,我们可以:

__inlineAmdPackages();

将所有当前的项目依赖都引入进来。

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

No branches or pull requests

2 participants