简体   繁体   中英

Using Deno to Compile TypeScript to JavaScript

I'm working on some Deno projects and would like to be able to compile TypeScript to JavaScript to run in the browser (since TS is not yet supported). When I worked with NodeJS I installed the tsc compiler using npm but it seems overkill to install a second JavaScript runtime (NodeJS) just to get access to tsc . Does Deno have a compiler built-in?

I'm running Ubuntu server.

There is built in bundler , so you don't need separate tool.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM