Skip to content

@sentry/nextjs: hideSourceMaps: false doesn't work for vercel previews #6035

Description

@11bit

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which package are you using?

@sentry/nextjs

SDK Version

7.16.0

Framework Version

12.3.1

Link to Sentry event

No response

Steps to Reproduce

  1. Add an option to not hide source-maps
 sentry: {
hideSourceMaps: false,
}
  1. Deploy to vercel preview and capture any exception

Expected Result

Source-maps visible

Actual Result

Source-maps invisible

Note: I can make it work by adding disableClientWebpackPlugin: false. But is not documented anywhere

Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions