Skip to content

Load sourcemap dynamically #239

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

Open
pjebs opened this issue Jan 12, 2025 · 1 comment
Open

Load sourcemap dynamically #239

pjebs opened this issue Jan 12, 2025 · 1 comment

Comments

@pjebs
Copy link

pjebs commented Jan 12, 2025

See this issue and the associated images.

I want to run this command: StackTrace.getSync().

I would like the fileName field to reveal the filename from during Development.

stacktrace.js should provide some way to load the source map and then when StackTrace.getSync() is called, replace the fileName with the original fileName.

@pjebs
Copy link
Author

pjebs commented Jan 12, 2025

There does not seem to be any synchronous way of adding sourcemaps.

@pjebs pjebs changed the title Load sourcemap dynaimcally Load sourcemap dynamically Jan 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant