Вопрос

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?

Это было полезно?

Решение

You need to add this option to your build config:

inlineText: false

Here is documentation

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top