[Users] GeoExt2 MVC Application Minification
Christian Mayer
Christian.Mayer at isb-ag.de
Mon Jan 26 12:47:48 CET 2015
Hi Hari,
in my existing projects I haven’t upgraded to Sencha Cmd yet. I still use Sencha SDK Tools [1]. So I can give you some hints how to build your app with this:
- Install the SDK-Tools
- Run the following on a CLI (This creates the jsb-file, which describes your app and its dependencies)
sencha create jsb -a /path/to/your-apps-index-file.html -p myapp.jsb3
- Now run (This creates your app as JS-build)
sencha build -p myapp.jsb3 -d /path/to/place/your/build/files/
Ensure that you Ext.Loader is enabled when running the "sencha create jsb" command and that the Ext.Loader is disabled when you run the "sencha build" command.
That's how it works for me.
Cheers,
Chris
[1] http://www.sencha.com/products/sdk-tools/download/
Von: users-bounces at geoext.org [mailto:users-bounces at geoext.org] Im Auftrag von Hari Pradhan
Gesendet: Freitag, 23. Januar 2015 22:05
An: users at geoext.org
Betreff: [Users] GeoExt2 MVC Application Minification
Hello List,
I am having problem in minifying GeoExt2 MVC application. Can anyone give me a direction to minify it. I want the minified version as in "http://geoext.github.io/geoext2/examples/app/simple/simple.html".
Note: I tried with Sencha cmd 5.x but couldn't get it done.
Thanks,
Hari
More information about the Users
mailing list