Skip to content

feat(Next.js): Added Spotlight option in server config#545

Merged
lforst merged 5 commits into
getsentry:masterfrom
Shubhdeep12:feat/spotlight-comment-nextjs
Mar 7, 2024
Merged

feat(Next.js): Added Spotlight option in server config#545
lforst merged 5 commits into
getsentry:masterfrom
Shubhdeep12:feat/spotlight-comment-nextjs

Conversation

@Shubhdeep12

@Shubhdeep12 Shubhdeep12 commented Mar 6, 2024

Copy link
Copy Markdown
Contributor

Added comment to add spotlight in Sentry.init for next.js server config

Note: We did not include the installation and setup of Spotlight because it is not added by default, and it is also not mandatory.

#535

@Shubhdeep12 Shubhdeep12 changed the title Spotlight: Next.js config added. feat(Next.js): Added Spotlight option in server config Mar 6, 2024
Comment thread src/nextjs/templates.ts Outdated
Comment on lines +163 to +165
debug: false,
${additionalOptions}
${spotlightOption}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Looking at this change superficially I think this will mess up the output.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Hi @lforst this was adding some extra empty lines, which I just fixed.

Is there any specific issue that you are mentioning here? which I am missing?

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

That was what I was referring to. Thanks for fixing it!

@lforst

lforst commented Mar 7, 2024

Copy link
Copy Markdown

Hi, prettier is failing and also could you add a changelog entry? Thanks!

@Shubhdeep12

Copy link
Copy Markdown
Contributor Author

Hi, prettier is failing and also could you add a changelog entry? Thanks!

Hi @lforst it should be fixed now.

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