Hacker News new | past | comments | ask | show | jobs | submit login

Yes, TS code is compiled to run in browsers. You can compile and bundle using `deno bundle` if your project is developed in Deno. Since I'm using Deno for library development, I use the `dnt`[1] tool to compile them into ESM modules later consumed by esbuild in my Node-based projects/toolchains.

[1] https://github.com/denoland/dnt




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: