-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Description
Is there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/nextjs
SDK Version
10.38.0
Framework Version
"next": "15.3.2", "react": "^19.0.0",
Link to Sentry event
No response
Reproduction Example/SDK Setup
No response
Steps to Reproduce
- Create a nextJS app
- Install the Sentry SDK
- add the following to
next.config.js:
sourcemaps:{
deleteSourcemapsAfterUpload:true,
},
- Build the app with
next build
Expected Result
All sourcemaps produced by the build are deleted after upload
Actual Result
Source maps in .next/server/** are not deleted:
Additional Context
Same issue as reported here for the CSS folder: #18125
Priority
React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Projects
Status
Waiting for: Community