PDA

View Full Version : Sencha Build



grnadav
5 Sep 2012, 3:58 AM
Hey all

I'm trying to use the Sencha Build to minify my project, and came across some oddities I'd appreciate clarifications on:
1. My app needs login to fetch some resources before it starts loading. How do I overcome this?
2. My app uses profiles, which load different resources depending on the one used. How do I build for each profile?

Thanks,
Nadav

mitchellsimoens
7 Sep 2012, 6:06 AM
What do you mean you need to login to load more resources? Login within the app using a login form in ST2?

For both, all your classes will need to be required up front and the build process will load everything and build it into a single JS file.