You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would it be possible to use a different script runner than ts-node? Especially for short build scripts, ts-node is quite slow -- and I don't need to type-check my build scripts all the time. In our TS code base, we're using babel-node as our runner, which only transpiles and is therefore significantly faster.
Additionally, we recently found out that ts-node can be configured to use swc for transpilation. If this works for devcmd, this issue might be solvable by configuration.
Note: This feedback was provided internally at XITASO, so I'm creating this issue for tracking.
The text was updated successfully, but these errors were encountered:
PatrickLehnerXI
changed the title
Use a different script runner than ts-node
Use a different script runner than ts-node for better performance
Nov 19, 2021
ts-node also has a command-line option -T that enables transpile-only mode, I have sometimes wished this could be used. However, in that case I'm not sure how the scripts would still be type-checked.
This could be a possible (temporary) quick-fix while we consider replacing the script runner permanently.
Note: This feedback was provided internally at XITASO, so I'm creating this issue for tracking.
The text was updated successfully, but these errors were encountered: