Skip to content

Commit dcf256a

Browse files
committed
fix comment
1 parent cbc4d5d commit dcf256a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/sveltekit/src/server/index.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// Node SDK exports
2-
// Unfortunately, we cannot `exprt * from '@sentry/node'` because our CJS output mistakenly
3-
// puts these exports into a `default` rather than on the top-level namespace.
2+
// Unfortunately, we cannot `exprt * from '@sentry/node'` because in prod builds,
3+
// Vite puts these exports into a `default` property (Sentry.default) rather than
4+
// on the top - level namespace.
45
// Hence, we export everything from the Node SDK explicitly:
56
export {
67
addGlobalEventProcessor,

0 commit comments

Comments
 (0)