1

I ran sencha app build production which created a directory build/production where an app.js file is present. The question is how do I make the app load the combined app.js file, not the dev files now?

Spadar Shut
  • 15,111
  • 5
  • 47
  • 54

1 Answers1

1

Check the building guide :

http://docs.sencha.com/touch/2-0/#!/guide/building

I have used these commands in my app


cd ~/path/to/my/app

sencha create jsb -a index.html -p app.jsb3

sencha build -p app.jsb3 -d ./

remember to add all of the classes in app.js. At the end you will get a minified file and you will still have app.js. but the minified file will contain all of the other classes.

amrit_neo
  • 1,759
  • 4
  • 19
  • 39