Sencha command offers a seamless way to create, build, and distribute custom packages. The Ext JS library itself is constructed using Sencha command.
I am curious about the process for ensuring that the built package maintains proper order, especially when dealing with a list of Singleton files in the root folder without dependencies among them. For example, in the Sencha core package, files like Ext.js and ComponentQuery.js are present - how does Sencha command determine the order of building these files?
This aspect is somewhat perplexing to me, as I am facing a similar scenario with a package named MyCoolStuff. In its root source folder, I have files like CoolStuff.js and various singleton/utility files like CoolStuffEventHandler.js. I specifically require CoolStuff.js to be built first, but I haven't been successful in achieving this.
I am curious to know how Ext JS manages this process effectively.