Skip to content

Conversation

logaretm
Copy link
Collaborator

@logaretm logaretm commented Sep 24, 2025

DESCRIBE YOUR PR

Noticed that a snippet in Nuxt manual setup guide is using incorrect module path when registering it.

It it is using @sentry/nuxt instead of @sentry/nuxt/module which is the correct path.

CleanShot 2025-09-24 at 14 34 37@2x

I verified this by copying the snippet into a Nuxt project, it throws:

RollupError: [plugin impound] Importing directly from module entry-points is not allowed. [importing @sentry/nuxt from sentry.server.config.ts]

So here I'm just fixing and after the change it would match the other snippets that have the correct path used.

IS YOUR CHANGE URGENT?

Help us prioritize incoming PRs by letting us know when the change needs to go live.

  • Urgent deadline (GA date, etc.):
  • Other deadline:
  • None: Not urgent, can wait up to 1 week+

SLA

  • Teamwork makes the dream work, so please add a reviewer to your PRs.
  • Please give the docs team up to 1 week to review your PR unless you've added an urgent due date to it.
    Thanks in advance for your help!

PRE-MERGE CHECKLIST

  • Checked Vercel preview for correctness, including links
  • PR was reviewed and approved by any necessary SMEs (subject matter experts)
  • PR was reviewed and approved by a member of the Sentry docs team

Copy link

vercel bot commented Sep 24, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
sentry-docs Ready Ready Preview Comment Oct 3, 2025 10:35am
1 Skipped Deployment
Project Deployment Preview Comments Updated (UTC)
develop-docs Ignored Ignored Preview Oct 3, 2025 10:35am

@logaretm logaretm changed the title fix(nuxt): use correct module path in a snippet docs(nuxt): use correct module path in a snippet Oct 2, 2025
@logaretm logaretm force-pushed the awad/fix-nuxt-module-reg-snippet branch from 60f75f4 to 62214ed Compare October 3, 2025 10:01
Copy link

codecov bot commented Oct 3, 2025

Bundle Report

Changes will decrease total bundle size by 15 bytes (-0.0%) ⬇️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
sentry-docs-client-array-push 10.15MB -6 bytes (-0.0%) ⬇️
sentry-docs-server-cjs 12.94MB -9 bytes (-0.0%) ⬇️

Affected Assets, Files, and Routes:

view changes for bundle: sentry-docs-client-array-push

Assets Changed:

Asset Name Size Change Total Size Change (%)
static/chunks/pages/_app-*.js -3 bytes 882.71kB -0.0%
static/chunks/8321-*.js -3 bytes 425.87kB -0.0%
static/bBN4lz1Qxh2gYE-*.js (New) 684 bytes 684 bytes 100.0% 🚀
static/bBN4lz1Qxh2gYE-*.js (New) 77 bytes 77 bytes 100.0% 🚀
static/qD4BGeLJF0B3N8Q7ETbTN/_buildManifest.js (Deleted) -684 bytes 0 bytes -100.0% 🗑️
static/qD4BGeLJF0B3N8Q7ETbTN/_ssgManifest.js (Deleted) -77 bytes 0 bytes -100.0% 🗑️
view changes for bundle: sentry-docs-server-cjs

Assets Changed:

Asset Name Size Change Total Size Change (%)
1729.js -3 bytes 1.78MB -0.0%
../instrumentation.js -3 bytes 1.1MB -0.0%
9523.js -3 bytes 1.08MB -0.0%

@logaretm logaretm merged commit 2d4434c into master Oct 3, 2025
13 of 16 checks passed
@logaretm logaretm deleted the awad/fix-nuxt-module-reg-snippet branch October 3, 2025 12:27
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.

2 participants