-
-
Notifications
You must be signed in to change notification settings - Fork 185
Source Maps #237
Copy link
Copy link
Closed
Labels
Milestone
Description
Right now error reporting for the generated lua files is pretty bad; you have to open the lua file, check the specific line and guess what generated it. Debugging also suffers from the same problem - you have to debug the generated lua files.
When transpiling to js, the typescript compiler can also generate a .map file which would solve all this issues. I propose we do something similar but with a simplified .map format. The one ts uses(here) is aimed at minimizing file size, which I don't feel is as important here.
I'm probably going to end up doing this anyway, but it's a very intrusive change, so I would prefer for it to be merged back.
Reactions are currently unavailable