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

Handle source maps in webpack loaders #33

Merged
merged 1 commit into from
Nov 17, 2023
Merged

Handle source maps in webpack loaders #33

merged 1 commit into from
Nov 17, 2023

Conversation

unstubbable
Copy link
Owner

@unstubbable unstubbable commented Nov 17, 2023

This enables setting breakpoints in server actions. In addition, we set the swc env to node 18 in the webpack server configs, so that no unnecessary generator code is emitted for async functions, which also messed up the mapped source lines.

Copy link

vercel bot commented Nov 17, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
mfng ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 17, 2023 5:03pm

This enables setting breakpoints in server actions. In addition, we set
the swc env to node 18 in the webpack server configs, so that no
unnecessary generator code is emitted for async functions, which also
messed up the mapped source lines.
@unstubbable unstubbable merged commit 93adb2f into main Nov 17, 2023
6 checks passed
@unstubbable unstubbable deleted the source-maps branch November 17, 2023 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant