Skip to content

ref(nuxt)!: Remove deprecated sourceMapsUploadOptions module option - #22875

Draft
nicohrubec wants to merge 1 commit into
developfrom
feat/nuxt-remove-deprecated-module-options
Draft

ref(nuxt)!: Remove deprecated sourceMapsUploadOptions module option#22875
nicohrubec wants to merge 1 commit into
developfrom
feat/nuxt-remove-deprecated-module-options

Conversation

@nicohrubec

Copy link
Copy Markdown
Member

The deprecated sourceMapsUploadOptions module option has been removed from @sentry/nuxt in favor of the existing root-level options (url's equivalent is sentryUrl, and enabled's is sourcemaps.disable).

The per-field fallback chains in getPluginOptions (moduleOptions.X ?? sourceMapsUploadOptions.X ?? env) collapsed to moduleOptions.X ?? env. The filesToDeleteAfterUpload resolution was extracted into a helper so the complexity eslint-disable could be removed as the issue requested.

Fixes #22249

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Nuxt: remove deprecated module options

1 participant