Is It Possible (and How) To Remove Unutilized Widgets From Ext JS Library?
Solution 1:
Yes, though some of the components are easier to remove than others, as there are dependencies.
Use JSBuilder. http://www.extjs.com/products/jsbuilder/ You need Java to run it.
Then, in the extjs distribution there is a file in each branch named "ext.jsb2", which is the JSBuilder project file.
Copy that file to something like "ext-custom.jsb2", then carefully remove components you don't need, then run a command like this:
java -jar JSBuilder2.jar --projectFile C:\extjs\branches\ext-3.1.x\ext-custom.jsb2 --homeDir C:\ext-custom
The output will be in the custom directory, and you'll have ext-all.js, etc. with just your stuff.
Solution 2:
Yes, it is possible. That tool is available on their site. JSBuild2 is created by ExtJS team for that purpose. You just edit ext.jsb2 file appropriately.
Post a Comment for "Is It Possible (and How) To Remove Unutilized Widgets From Ext JS Library?"