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
9.22.0
Framework Version
Next 15.3.0
Link to Sentry event
No response
Reproduction Example/SDK Setup
No response
Steps to Reproduce
We recently migrated to the Webpack plugin and used to upload the sourcemaps using a GitHub Action - since the migration, we have many issues that throw "In App" but sourcemaps are only available up to a certain point. Previously, the same issues had 100% sourcemap coverage.
As seen here, main-*.js
gets explicitly excluded from the sourcemap upload, even with widenClientFileUpload
enabled:
sentry-javascript/packages/nextjs/src/config/webpackPluginOptions.ts
Lines 44 to 52 in 48f1a4f
It seems some of our code is being bundled in the main bundle (my suspicion is that in this specific case it happens because the safeParse
function is also used in instrumentation-client), which is now not available anymore to view.
Expected Result
Being able to see sourcemaps for the main bundle as well
Actual Result
See reproduction steps
Metadata
Metadata
Assignees
Type
Projects
Status