WIP: Template precompilation#82
WIP: Template precompilation#82pootsbook wants to merge 1 commit intoemberjs-addons:masterfrom pootsbook:spike
Conversation
|
Take a look at what ember-rails does. It includes templates into the minified files. The idea is that it adds the templates into the global |
|
Understood. The difference with ember-rails is that it has no module system, i.e. it uses the manifest to deal with dependencies and the templates are included that way. If you build ember-bootstrap with this pull request the template is added to
|
|
I think the only template which is still needed in Ember.js, is the one for the select control: ember-handlebars/lib/controls/select.js#L327 |
|
And it's precompiled the same way we do here. @pootsbook: |
This is a work-in-progress attempt to get precompiled templates. I've got
alert_messageprecompiling but it's not getting added into the build correctly. I'm not sure how it would fit into the module declarations (if it has to) or at what point it could be included in the concatenation.Suggestions please!