For transpiled JavaScript, the line/column information for the transpiled code is not very useful. Often, a source map is included, which maps every line of the transpiled code to its corresponding line in the original source. We can take advantage of this to display more useful information when a runtime JS error occurs.
For transpiled JavaScript, the line/column information for the transpiled code is not very useful. Often, a source map is included, which maps every line of the transpiled code to its corresponding line in the original source. We can take advantage of this to display more useful information when a runtime JS error occurs.