Closed tamtakoe closed 9 years ago
The order of the output modules is very important. There's quite a chunk of code that takes care of ordering these in the asynchronous environment. Also there are a lot of tests that confirm the correct ordering. Because of that I'm quite confident future versions will preserve the ordering. Does that answer your question?
Yes. Thank! It is good, because I can use it for modular application (collect dependencies for certain modules, not for the entire application).
Perfect :-)
P.S. Found by chance https://github.com/gustavohenke/toposort. It may be useful
Now modules and our dependensies load in correct order (as if the files are loaded synchronously):
This is useful in some cases.
You can guarantee the preservation of order in future versions? For example, to add
syncLoading
flag