Question

I have an Ember.js application, and after I ran RequireJS optimisation all the files got optimised and concatenated into one file including the handlebars templates, How can I exclude the templates from the optimisation and just make it load it via Ajax with text plugin?

Était-ce utile?

La solution

You need to add this option to your build config:

inlineText: false

Here is documentation

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top