DanielXMoore / Civet

A TypeScript superset that favors more types and less typing
https://civet.dev
MIT License
1.33k stars 28 forks source link

Cleanup Bun loader code #1291

Closed edemaine closed 5 days ago

edemaine commented 1 week ago

This was an attempt at #1286, but the Transpiler doesn't actually seem to work as desired (need to manually specify tsconfig, and even then, it doesn't seem to add the implicit import, and the result behaves weird if the module has no import/export). But the cleanup was a moderate improvement, so I'm submitting that: