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

Fixed: TypeScript linenumbers on server stacktraces #1685

Merged
merged 4 commits into from
Jun 12, 2023

Conversation

ballPointPenguin
Copy link
Contributor

@ballPointPenguin ballPointPenguin commented May 15, 2023

Closes #1382

Full credit to https://github.com/SebastianRuan

Rebase and clean-up from original PR

NOTE: This is currently configured to only run if devMode === true. However I don't think running in production is a problem since this is a server concern and would not be getting sent to browsers.

@ballPointPenguin
Copy link
Contributor Author

Screenshot 2023-05-15 at 16 33 31 Screenshot 2023-05-15 at 16 33 47

@ballPointPenguin ballPointPenguin marked this pull request as ready for review May 15, 2023 23:38
@xeeg
Copy link
Contributor

xeeg commented May 22, 2023

I think we'd like to have meaningful linenumbers in production as well. Are there any particular drawbacks or costs to sourcemap?

@ballPointPenguin ballPointPenguin self-assigned this May 22, 2023
@ballPointPenguin ballPointPenguin merged commit 5a31d46 into edge Jun 12, 2023
@ballPointPenguin ballPointPenguin deleted the typescript-line-numbers branch June 12, 2023 23:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix TypeScript linenumbers on server stacktraces
3 participants