Skip to content

Add release config to @sentry/nuxt sourceMapUploadOptions #14337

@jaap3

Description

@jaap3

Problem Statement

I'm trying out the @sentry/nuxt module and noticed that the sourcemaps are uploaded with a version set to whatever the git HEAD commit is at. I'd like to be able to set the version to something more representative, preferably the same version as we set in the Sentry.init call.

Solution Brainstorm

I've now set it using:

unstable_sentryBundlerPluginOptions: {
  release: {
    name: `${PACKAGE}@${VERSION}`,
  },
}

Metadata

Metadata

Assignees

Projects

Status

Waiting for: Product Owner

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions