Skip to content

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

@11bit

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!

Metadata

Metadata

Assignees

Labels

Package: nextjsIssues related to the Sentry Nextjs SDK

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions