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 JS-142
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.
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 JS-142