Sourcemaps Are Invalid
Author: chadhietalaCreated Jul 25, 2017Updated Sep 2, 2026
Labelsi: discussionhelp wantedarea: sourcemaps
## Preamble
Lets talk about sourcemaps ! As you may know sourcemaps can be awesome when they are produced correctly and also a huge time suck when you realize that sourcemaps are wrong and just pointing to the wrong place in code. Due to the relative encoding of sourcemaps, the first invalid mapping affects all mappings from that point forward, leading to break points and exceptions being in the wrong place. This means that if any actor in your build pipeline is being a bad tenant and produces invalid maps, you're pretty much hosed.
## Yea Yea Yea I Know
At this point I feel like everyone in the JS community is at an awkward party where no one wants to admit they are having less than a stellar time.
Source: babel/babel