Skip to content

fix(nuxt): Only add OTel alias in dev mode #16756

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 27, 2025
Merged

fix(nuxt): Only add OTel alias in dev mode #16756

merged 2 commits into from
Jun 27, 2025

Conversation

s1gr1d
Copy link
Member

@s1gr1d s1gr1d commented Jun 27, 2025

Only add alias in dev mode and don't override an existing one so people can still add their own alias.

fixes #16742
reference: #15204

cursor[bot]

This comment was marked as outdated.

@s1gr1d s1gr1d changed the title fix(nuxt): Only add OTel alias in dev mode fix(nuxt): Don't add OTel alias in dev mode Jun 27, 2025
@s1gr1d s1gr1d changed the title fix(nuxt): Don't add OTel alias in dev mode fix(nuxt): Only add OTel alias in dev mode Jun 27, 2025
@s1gr1d s1gr1d merged commit 56c9fcb into develop Jun 27, 2025
36 checks passed
@s1gr1d s1gr1d deleted the sig/nuxt-dev-alias branch June 27, 2025 10:51
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.

[@sentry/nuxt] Nuxt fails to build when using --preset cloudflare-pages
2 participants