Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Refactor script-import system to allow pre-compilation without execution #437
Currently, if you have multiple files,
This workflow provides flexibility: e.g. if you dynamically
A different way of doing this could be to resolve only the import hooks first, without compilation or execution, and then perform compilation of all dependent scripts after, and then execute everything at once.
That advantage of the alternate design is that it will let us resolve
It would likely also result in a compilation speedup, since it would avoid the overhead the overhead of starting lots of compilation runs for each individual file