Frage

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?

War es hilfreich?

Lösung

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.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top