2

Is there a significant performance hit when using the TypeScript compiler option --inlineSourceMap in a NodeJS production environment?

1 Answer 1

-1

I wouldn't recommend doing that in production. There is already a discussion about that here in stackoverflow regarding sourceMaps. Though enabling that in your node.js application would double the js file size which would be that good in my opinion 🤞

Sign up to request clarification or add additional context in comments.

1 Comment

You don't really answer the question, file size is just one aspect of performance, and you could not care about it at all (e.g. it's your backend, and you never serve this file over the network). Moreover, the discussion you linked is pretty old, and people seem to be clueless about the use cases of this feature.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.