Skip to content

Commit 2e201e0

Browse files
committed
fix exports check
1 parent c964aa1 commit 2e201e0

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

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

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ const DEPENDENTS: Dependent[] = [
4646
package: '@sentry/astro',
4747
compareWith: nodeExports,
4848
exports: Object.keys(SentryAstro),
49+
ignoreExports: [
50+
// Not needed for Astro
51+
'setupFastifyErrorHandler',
52+
],
4953
},
5054
{
5155
package: '@sentry/bun',
@@ -82,13 +86,23 @@ const DEPENDENTS: Dependent[] = [
8286
package: '@sentry/aws-serverless',
8387
compareWith: nodeExports,
8488
exports: Object.keys(SentryAWS),
85-
ignoreExports: ['makeMain'],
89+
ignoreExports: [
90+
// legacy, to be removed...
91+
'makeMain',
92+
// Not needed for Serverless
93+
'setupFastifyErrorHandler',
94+
],
8695
},
8796
{
8897
package: '@sentry/google-cloud-serverless',
8998
compareWith: nodeExports,
9099
exports: Object.keys(SentryGoogleCloud),
91-
ignoreExports: ['makeMain'],
100+
ignoreExports: [
101+
// legacy, to be removed...
102+
'makeMain',
103+
// Not needed for Serverless
104+
'setupFastifyErrorHandler',
105+
],
92106
},
93107
{
94108
package: '@sentry/sveltekit',

0 commit comments

Comments
 (0)