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?

Was it helpful?

Solution

You need to add this option to your build config:

inlineText: false

Here is documentation

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top