Skip to content

docs(js): Add missing build option for react component annotation in nextjs #14556

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 1 commit into from
Aug 7, 2025

Conversation

chargome
Copy link
Member

@chargome chargome commented Aug 5, 2025

No description provided.

Copy link

vercel bot commented Aug 5, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sentry-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 5, 2025 3:37pm
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
develop-docs ⬜️ Ignored (Inspect) Aug 5, 2025 3:37pm

@chargome chargome enabled auto-merge (squash) August 5, 2025 15:17
Copy link

codecov bot commented Aug 5, 2025

Bundle Report

Changes will increase total bundle size by 2.13kB (0.01%) ⬆️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
sentry-docs-client-array-push 9.85MB -6 bytes (-0.0%) ⬇️
sentry-docs-server-cjs 12.36MB 2.14kB (0.02%) ⬆️

Affected Assets, Files, and Routes:

view changes for bundle: sentry-docs-server-cjs

Assets Changed:

Asset Name Size Change Total Size Change (%)
1729.js -3 bytes 1.77MB -0.0%
../instrumentation.js -3 bytes 1.1MB -0.0%
9523.js -3 bytes 1.08MB -0.0%
../app/[[...path]]/page.js.nft.json 715 bytes 739.39kB 0.1%
../app/platform-redirect/page.js.nft.json 715 bytes 739.3kB 0.1%
../app/sitemap.xml/route.js.nft.json 715 bytes 736.78kB 0.1%
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%
server/middleware-*.js -5.55kB 1.0kB -84.74%
server/middleware-*.js 5.55kB 6.55kB 555.3% ⚠️
static/Ey6V4QspSfkgc78jCzC1K/_buildManifest.js (New) 684 bytes 684 bytes 100.0% 🚀
static/Ey6V4QspSfkgc78jCzC1K/_ssgManifest.js (New) 77 bytes 77 bytes 100.0% 🚀
static/W84V3ihBRYEI689c0Du_w/_buildManifest.js (Deleted) -684 bytes 0 bytes -100.0% 🗑️
static/W84V3ihBRYEI689c0Du_w/_ssgManifest.js (Deleted) -77 bytes 0 bytes -100.0% 🗑️


<SdkOption name="reactComponentAnnotation.ignoredComponents" type="string[] | undefined">

A list of React component names to exclude from component annotation.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it worth giving an example of how this list string is formatted? Are the component names comma separated? Separated by spaces?

Copy link
Contributor

@coolguyzone coolguyzone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@chargome chargome merged commit 20d15ab into master Aug 7, 2025
13 checks passed
@chargome chargome deleted the cg-add-docs-for-component-annotation branch August 7, 2025 18:16
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.

3 participants