-
-
Notifications
You must be signed in to change notification settings - Fork 540
Is this package production ready? #653
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Please search past issues before creating a new issue. Can you imagine having to answer every person who uses the package? To answer, it works fine in production but there will always be a memory overhead. Smaller in transpile only mode since it’ll only track source maps, large in compile mode since it’s got an instance of the TypeScript compiler and files in memory. If you are concerned about this, transpile first. It’s unlikely you need this in production, but I know many people are using it that way. |
@blakeembrey, @htonkovac npm install -D ts-node You see - flag |
I agree and happy to accept a PR. Unfortunately the answer means something different for each person. For majority, it’s fine to run in production, especially if they’ve been developing using it. For others, the overhead isn’t what they want to accept. I could put an answer in the README saying use it, or not, but it depends. Even you said you wouldn’t based on above, but personally I’d lean towards “just use it” if it works for you since the overhead isn’t high compared to differences in production vs locally. |
here you go. lets update doc. P.S. Same as in angular it is very very hidden in doc that ng serve is not good for prod, and if you see all copy/paste tutorials they all use |
Dear maintainers,
Is this cool and very useful package suitable for production or do you recommend to only use this package for development and compile typescript in prod? I am using Docker. Thank you
The text was updated successfully, but these errors were encountered: