Skip to content

[Nuxt 4] Client-side sourcemaps not uploading #19743

@dsfcoll

Description

@dsfcoll

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas

Which SDK are you using?

@sentry/nuxt

SDK Version

10.43.0

Framework Version

4.3.1

Link to Sentry event

No response

Reproduction Example/SDK Setup

https://stackblitz.com/edit/github-hjer7s5z?file=README.md

Steps to Reproduce

  1. pnpm run build > build.log 2>&1
  2. read build.log

Expected Result

All sourcemaps: client-side and server-side should be uploaded.

Actual Result

Client-side sourcemaps does not uploaded. Only server-side

Additional Context

Get randomly generated server file, for example error-404-styles.Bce3k-aR.mjs and try to find log

[sentry-rollup-plugin] Debug: Source map found for bundle `/home/projects/github-hjer7s5z/.output/server/chunks/build/error-404-styles.Bce3k-aR.mjs`: `/home/projects/github-hjer7s5z/.output/server/chunks/build/error-404-styles.Bce3k-aR.mjs.map`

And try the same with client side file, for example DkgRF2NR.js. There is no log and this file is unmapped.

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.

Metadata

Metadata

Assignees

Projects

Status

Waiting for: Product Owner

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions