Use ts-node for example - #344
Conversation
|
It looks like the build script is used by the ci, but isn't it useless everywhere else? |
|
Feel free to edit this PR @kaisalmen |
|
The build step is still meaningful to see if there are any code errors (and here the CI is useful, because it detects mistakes). vite/esbuild does not compile ts files, ts-node breaks, I guess |
I'm not sure what you mean I removed the 2 last commits btw: there is a |
Yeah, good idea.
vite/esbuild does not invoke the tsc compiler. They just remove type information and produces javascript on the fly. That's why it is so fast, but in general before going to production you should everything compiles (no type issues, etc.) |
got it! |
No description provided.