Repro: 1. Visit https://evanw.github.io/browser-source-map-bugs/#safari 2. Open the browser console Expected: Both the unminified and minified stack traces should match. The first stack frame should be "other.ts" on line 2 and the second stack frame should be "entry.ts" on line 6. Observed: The unminified stack trace is correct but the minified stack trace is incorrect. In the minified stack trace, both frames are "entry.ts" on line 7. Apologies if this bug has already been fixed in WebKit Nightly. I can't test it because WebKit Nightly isn't supported on macOS Mojave 10.14.
I believe these locations to be correct because these are the locations reported by Mozilla's source map library: https://github.com/mozilla/source-map. See https://github.com/evanw/browser-source-map-bugs/blob/gh-pages/verify.js for the verification script.
<rdar://problem/65058326>
Thanks! Yeah, this is fixed in bug 235607 *** This bug has been marked as a duplicate of bug 235607 ***