Why Devtool if TSC handles source maps? #19381
-
There's on thought that's troubling me: You can configure any type of source map output in |
Beta Was this translation helpful? Give feedback.
Answered by
alexander-akait
Apr 3, 2025
Replies: 1 comment 1 reply
-
Because typescript transpiles code to JS (i.e. source map from typescript to JS) and then webpack itself modify your code (i.e. source maps of your JS to source maps of webpack modified JS) |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
SetTrend
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Because typescript transpiles code to JS (i.e. source map from typescript to JS) and then webpack itself modify your code (i.e. source maps of your JS to source maps of webpack modified JS)