简体   繁体   中英

How to run node application developed using ts-node on Azure app service

Most of the documentation for a node application on azure app service is around running using iisnode module handler which uses app.js or server.js like files.

What if we want to run the same application which we are developing all along using typescript and running using ts-node ?

Possibly one option is to compile typescript files into javascript files, but that will overhead the files created, which I don't want.

What if we want to run the same application which we are developing all along using typescript and running using ts-node?

Don't run production code using ts-node. Transpile to .js and run js files.

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