This is a trivial question: I'm using a tool that compiles typescript to Lua. However, this tool doesn't support node_module resolution yet.
But as a workaround, I could build the Lua sources in 2 steps:
- bundle my sources and all the dependencies in a single .ts file
- use TypeScriptToLua to generate the Lua file from the bundled file
Webpack and TSC are only able to generate JS as far as I know and google doesn't help
Therefore, my question is: is there any possibility to pack TS files into a TS bundle?
Thanks in advance