Pergunta

Found a good tutorial post about requirejs and backbonejs here and the updated scripts here. In this article he build all script files to a single JavaScript including views and models. Like this, I need to build my angularjs and requirejs app to a single js file written using this post and this script.

Can anyone help me to do this?

Foi útil?

Solução

Even styles and images (via mixins) may be included, using RequireJs plugins line require-less and require-css, but this is another story).

Meanwhile, checkout this demo repository - I just updated it. It now builds text files into bundle as well.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top