Skip to content

Commit b83089e

Browse files
committed
use CJS import for bun SDK
1 parent cd2363c commit b83089e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dev-packages/e2e-tests/test-applications/node-exports-test-app/scripts/consistentExports.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import * as SentryAstro from '@sentry/astro';
2-
import * as SentryBun from '@sentry/bun';
32
import * as SentryGoogleCloud from '@sentry/google-cloud';
43
import * as SentryNextJs from '@sentry/nextjs';
54
import * as SentryNode from '@sentry/node';
@@ -9,6 +8,8 @@ import * as SentrySvelteKit from '@sentry/sveltekit';
98

109
// SentryAWS is CJS only
1110
const SentryAWS = require('@sentry/aws-serverless');
11+
// Using CJS export for Bun SDK
12+
const SentryBun = require('@sentry/bun');
1213

1314
/* List of exports that are safe to ignore / we don't require in any depending package */
1415
const NODE_EXPERIMENTAL_EXPORTS_IGNORE = [

0 commit comments

Comments
 (0)