PDA

View Full Version : How to make custom ext-all.js from 1.5MB source file ?



anishcjose
29 Aug 2013, 8:13 PM
Currently I am working on EXT JS and I am new to EXT JS, I used Panel and groups feature with Excel upload and all features are working fine and it is easy to maintain code also.

Now my higher management decided ,ext-all.js is very big size and we will not use this our application due to heavily loaded javascript, so I tried CMD tool ,but I don't get proper documentation and I don't know how much it can reduce the size, If the size is 100K to 150K, then it is acceptable, and they are ready to go for commercial license also, please help me if this can achieve or not.

Gary Schlosberg
3 Sep 2013, 3:45 PM
My understanding is that a production Cmd build only includes required classes, and should result in significantly smaller code. Take a look at the Cmd docs:
http://docs.sencha.com/cmd/3.1.2/#!/guide/command
http://docs.sencha.com/cmd/3.1.2/#!/guide/command_app_ext42

ettavolt
4 Sep 2013, 8:14 AM
150K? Core build ~(jQuery + underscore) is ~300K.