DEV Community

Discussion on: How to Reduce RAM Consumption by X6 When Using ts-node

Collapse
 
sqlrob profile image
Robert Myers

I've just started using Typescript in node, so I'm still feeling my way around some, but why would you use ts-node in production? I've been deploying only compiled files, using ts-node only for local utility scripts.

Collapse
 
theharshrastogi profile image
Harsh Rastogi

Yeah, we should use node exec and after converting to JavaScript. You r on the right path carry on.