Skip to content

Commit 97f0df9

Browse files
committed
Temporary build fix
1 parent 20ed477 commit 97f0df9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

web/app/instrumentation.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
import * as Sentry from "@sentry/nextjs";
22
export async function register() {
33
if (process.env.NEXT_RUNTIME === "nodejs") {
4+
// @ts-ignore
45
await import("./sentry.server.config");
56
}
67
if (process.env.NEXT_RUNTIME === "edge") {
8+
// @ts-ignore
79
await import("./sentry.edge.config");
810
}
911
}

0 commit comments

Comments
 (0)