Reputation: 15807
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?
Upvotes: 1
Views: 3821
Reputation: 1759
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.
Upvotes: 1