Ext JS Premium Member
Sench CMD including almost every ExtJS Class in all-classes.js file
I am trying to follow directions from
to create a smaller all-classes.js file which should contain only those ExtJS classes that are required by my web page. I have created a very simple page which contains just one requires statement in it but the resulting file is 126,123 lines long and contains almost every ExtJS class, e.g. it contains Ext.chart.series.Bar and I am not doing anything related to charts.
I have a base directory called extProject and under that I have index.html, empty build directory and a js directory containing just one js file named app.js
I have just following code in the app.js file
and just following in the index.html file
I am running following command from extProject directory to generate all-classes.js file
>sencha -sdk C:\Sencha\ext500 compile -classpath=js page -in index .html -out build/index.html
Please let me know how can I fix this issue as we really need a smaller ext footprint in the browser.