Part of the reason for this is I strongly prefer keeping static resources on a separate host for performance. I really don't want my PNG, GIF, JS, etc. files in my main application directory at all, just my ASPX files. (ExtJS 5 seems to have broken this ability due to XSS issues, I'm trying to work around them now. But that's a separate issue.)
But I would like to get a pared-down build of ext-all.js that excludes the components I'm not currently using, because 4MB is rather hefty.
My web pages are server-generated from <!DOCTYPE HTML> down, so there are no static HTML files for Cmd to process. Each page does have its own .js file, so if Cmd can just read them directly, that would work.
Ideally, I'd like to just make one Javascript file with a bunch of "requires" in it, send it to Sencha Cmd, and get back a custom Javascript file that I can link to.
How can I do this?
Aucun commentaire:
Enregistrer un commentaire