What devtools do you use? Millage may be different, but Chrome (and IE / Edge, yes ... IE and Edge) tend to use sourcemaps best. Although at the moment all major browsers support them, I had the worst experience with Firefox.
We have very large packages, and sourcemaps did not cause slowness in devtools. What mode are you using? For webpack, using "eval" will make a built-in source map that displays the files, but not the source (so you see the generated code, but the ratio is 1: 1 with the source files). Since many ES6, Typescript, and Coffeescript constructors do not display well (for example: generators or understanding methods), this is usually the easiest way to use, as well as the fastest. Using eval, it "just works" in Chrome devtools without any developer action (your files will be under webpack: // pseudo-folder)
For the stack trace, I don't know if this is a specific browser or what. We use Mocha for the unit test, which is not like it does something special for sourcemaps, and it captures stack traces to display them correctly on the test runner web package (it even includes the webpack: // prefix along with the source file name and the correct line number), so maybe the need for this library depends on the browser or is it outdated?
source share