Skip to content

[Nitro] Upload sourcemaps #17992

@logaretm

Description

@logaretm

Since nitro involves a build step, we need to upload source maps via the Sentry rollup/vite plugins.

It should be similar to what we do already for Nuxt's SDK, except we would be only doing it for the server-side of things.

The process should integrate nicely with downstream SDK's that will use this like Nuxt's, including the checking for sourcemap settings conflicts set by the user.

Nitro Sourcemap setting <-> Rollup Sourcemap setting

This will probably mean we will do source map uploads in two steps, once for the server-side and have the downstream SDK upload any additional sourcemaps it needs to.

related to #13762

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions