Dishit
Dishit2y ago

Any tool that will complie my TS code to JS?

I have coded a website in typescript using Deno, but I want to convert it to JS code. I know the Deno runtime does it automatically for me but I want to convert my codebase permanently to JS. Is there any tool I can use to do that?
7 Replies
Dishit
DishitOP2y ago
Also want to convert my vendor folder to JS
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Dishit
DishitOP2y ago
Yup
lucsoft
lucsoft2y ago
you could use https://deno.land/x/esbuild_serve@1.2.1 just create a serve.ts file run with "deno run -A serve.ts build" and now you have it
Dishit
DishitOP2y ago
Alright ill take a look I just learnt that i can also use deno bundle for my issue too
lucsoft
lucsoft2y ago
not really its really just packs code together nothing more
Dishit
DishitOP2y ago
Yeah well that solves my issue anways. I’m testing my code on a new serverless architecture design, and i wanted to reduce the startup time by not making deno transpile my code

Did you find this page helpful?