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

Per route code splitting #109

Merged
merged 25 commits into from
Mar 29, 2019
Merged

Per route code splitting #109

merged 25 commits into from
Mar 29, 2019

Conversation

ef4
Copy link
Contributor

@ef4 ef4 commented Mar 29, 2019

This introduces the splitAtRoutes option. It lets you choose whatever set of routes you'd like to be split points, and it splits them and their children into lazily loaded bundles.

It also introduces the @embroider/router package, which is a very small extension to the stock Ember router that causes it to notice the existence of these lazy bundles and load them at the appropriate time.

@ef4 ef4 merged commit cb3190a into master Mar 29, 2019
@ef4 ef4 deleted the split branch March 29, 2019 04:43
@villander
Copy link

villander commented Mar 30, 2019

I'm anxious to see Ember Engines + Embroider

thank you so much @ef4

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

Successfully merging this pull request may close these issues.

2 participants