-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Client-side sourceMappingURL is being erased despite of settings #12219
Comments
Hi, we currently set the |
Hey @lforst! Thank you for the response! Sourcemaps are generated by nextjs by default for the development and it allows you to extend this behavior for the produciton build with https://nextjs.org/docs/app/api-reference/next-config-js/productionBrowserSourceMaps |
I think I get what you're saying. I opened a PR to fix! |
Fix released with https://github.com/getsentry/sentry-javascript/releases/tag/8.7.0 - please give it a try! |
Is there an existing issue for this?
How do you use Sentry?
Self-hosted/on-premise
Which SDK are you using?
@sentry/nextjs
SDK Version
8.4.0
Framework Version
Next 14.1.1
Link to Sentry event
https://sentry.testgrigorev-aks.arkadiumhosted.com/organizations/arkadium-test-sentry/issues/302/?query=is%3Aunresolved&referrer=issue-stream&stream_index=0
SDK Setup
sentry.client.config.ts
instrumentation.ts
nextjs.config.js
Steps to Reproduce
Expected Result
//# sourceMappingURL=page-${hash}.js.map should be in the static files.
Actual Result
server:
client:
The text was updated successfully, but these errors were encountered: