Skip to content
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

feat(SvelteKit): Added Spotlight option in server config #546

Merged
merged 4 commits into from
Mar 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@

## Unreleased

- feat(remix): Add example page (#542)
- feat(nextjs): Add comment to add spotlight in Sentry.init for Next.js server config (#545)
- feat(nextjs): Pin installed Next.js SDK version to version 7 (#550)
- Add note about `tunnelRoute` and Next.js middleware incompatibility (#544)
- feat(nextjs): Added comment to add spotlight in Sentry.init for Next.js server config (#545)
- feat(remix): Add example page (#542)
- feat(sveltekit): Add comment for spotlight in Sentry.init for SvelteKit server hooks config (#546)
- ref(nextjs): Add note about `tunnelRoute` and Next.js middleware incompatibility (#544)
- ref(remix): Remove Vite dev-mode modification step (#543)

## 3.20.5
Expand Down
3 changes: 3 additions & 0 deletions src/sveltekit/templates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ import * as Sentry from '@sentry/sveltekit';
Sentry.init({
dsn: '${dsn}',
tracesSampleRate: 1.0,

// uncomment the line below to enable Spotlight (https://spotlightjs.com)
// spotlight: import.meta.env.DEV,
});

// If you have custom handlers, make sure to place them after \`sentryHandle()\` in the \`sequence\` function.
Expand Down
Loading