2

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

Harold L. Brown
  • 8,423
  • 11
  • 57
  • 109

1 Answers1

-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

Max
  • 1,203
  • 1
  • 14
  • 28
  • 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. – YohjiNakamoto Mar 24 '23 at 08:02