When ST2 beta was released, we migrated our solution to use that version.
At the end, we got a migrated application that runs in the browser, but fails with time-out when the app request the local index.html.
Using ST1, we have made a lot of improvements to our application, by adding an on-demand script loader, and lately, a programatic load with timeout (loads a js file each 2 seconds). By this way we got a faster startup, and each page is loaded on-demand, if it isn't already loaded.
In ST2 we saw that files are loaded on-demand also, but when build process minify all in a single app.js, the file size is too big, losing the advantage of that load. In the other hand, if we don't use the build process, the sdk files are huge also, and most of it isn't required .
So, I'd like to know if any of you can suggest a better way to build and get a ST2 (even ST 2.1) compiled.
Also, please suggest if it could be good to keep this kind of on-demand load, and also add all required components at app.js file, in order to minify and take only required SDK files. This is an idea that I will be trying soon