Skip to content

typescript transpiler

Zeioth edited this page Aug 30, 2023 · 17 revisions

The typescript transpiler runs the command tsc to convert the files to javascript, and then it run the entry point using node.

screenshot_2023-08-30_14-24-58_986996926

Considerations when using build solution

  • By using a .solution.toml file, you can pass custom arguments to tsc if you want.
  • We don't recommend you having a tsconfig.json file in your working directory if you are gonna use the build solution option (it's redundant).
  • But if you have to, make sure you set arguments = "". The reason is the arguments defined in .solution.toml prevail over the ones defined in tsconfig.json.