-
Notifications
You must be signed in to change notification settings - Fork 4
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
Support multiple entry-points #29
Labels
Comments
sounds good |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When multiple final bundles will be produced, it can be advantageous to keep a single tree for as long as possible.
Allowing for multiple entry-points can enable us to avoid transpiling the same file if it were to occur in more than one tree. Making broccoli-dependency-funnel aware of this concept is better than the alternative (fork => dep funnel => merge) as it enables caching already walked subgraphs instead of needing to parse and walk N times for N trees.
If this is something we want, it likely needs to happen at the mr-dep-walk level with the entry-point configuration passed into mr-dep-walk from broccoli-dependency-funnel.
cc @stefanpenner @twokul
The text was updated successfully, but these errors were encountered: