stacktracify
stacktracify copied to clipboard
Support multiple file sourcemaps
It would be very useful if you could provide a folder of sourcemaps, that way you don't have to run the command for each file in chunked build scenarios.
I'm not sure how this would work. Can one stack trace originate from multiple source maps? How does stacktracify know which source map the stack trace is from?
I can't find a good exception stack example trivially, but Webpack and similar bundling systems allow for emitting multiple "chunks", each with individual source maps. These stack traces identify which browser resource (i.e. *.chunk.js
) the line in question comes from.
I created a PR for this https://github.com/mifi/stacktracify/pull/5