A demo of printing a stack trace from an error thrown within transpiled code.

Source-mapped Stack trace (pointing to original code):

  

Unmapped Stack trace (pointing to transpiled code):

  

Alternatively, try throwing and not catching, to compare the trace in your browser's console: