This was done previously, but removed in a refactor and to fix windows. Need to do it again.
This would result in
- Faster startup times as LuaJIT doesn't need to do initial compilation
- Theoretically better stack traces as you can just change the module name to whatever you want in the bytecode.
- Smaller binary size (only really for huge projects)