Looks like we can't reproduce the issue or there's a problem in the test case provided.
Ext JS Premium Member
Compile only dependencies?
Is it possible to collect with sencha compile only the dependencies for an application?
I set the classpaths to the src files of my app and with --sdk-path the path to the ExtJS-src.
After compile, the compiled file has all classes from my src and the sdk-src, although not all sdk-src files are necessary.
Can I set an option like the Ext.Loader. that knows who the sdk-files are and includes only a a file, if it's required?