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

Update Ember.HTMLBars.template import location. #55

Merged
merged 2 commits into from
May 15, 2018

Conversation

rwjblue
Copy link
Member

@rwjblue rwjblue commented May 15, 2018

In order to more easily facilitate the ability to tree shake we need to separate runtime code from build time code. Ember.HTMLBars.template is required at runtime, and cannot be stripped from the final bundle (yet 😉).

Prior to these changes the @ember/template-compilation module would still be retained, which is definitely not desired.

rwjblue added 2 commits May 15, 2018 15:35
In order to more easily facilitate the ability to tree shake we need to
separate runtime code from build time code. `Ember.HTMLBars.template` is
_required_ at runtime, and cannot be stripped from the final bundle (yet
:wink:).

Prior to these changes the `@ember/template-compilation` module would
still be retained, which is definitely not desired.
@rwjblue rwjblue merged commit 781bc94 into ember-cli:master May 15, 2018
@rwjblue rwjblue deleted the update-template-import branch May 15, 2018 19:44
@rwjblue rwjblue added the bug label May 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant