Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support multiple file sourcemaps #4

Open
agg23 opened this issue May 28, 2020 · 3 comments
Open

Support multiple file sourcemaps #4

agg23 opened this issue May 28, 2020 · 3 comments
Labels
enhancement New feature or request

Comments

@agg23
Copy link

agg23 commented May 28, 2020

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.

@mifi
Copy link
Owner

mifi commented May 30, 2020

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?

@agg23
Copy link
Author

agg23 commented Jun 1, 2020

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.

@mifi mifi added the enhancement New feature or request label Jul 13, 2020
@askarby
Copy link

askarby commented Aug 21, 2020

I created a PR for this #5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants