From 21e120de07d31eeab92e8695ab5dd7b3f7219ef6 Mon Sep 17 00:00:00 2001 From: Liam Date: Fri, 4 Oct 2024 11:59:32 +0100 Subject: [PATCH] pls bbg --- apps/frontend/src/instrumentation.ts | 4 ++-- apps/frontend/tsconfig.json | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/frontend/src/instrumentation.ts b/apps/frontend/src/instrumentation.ts index ecb6528..ae8cc8b 100644 --- a/apps/frontend/src/instrumentation.ts +++ b/apps/frontend/src/instrumentation.ts @@ -2,11 +2,11 @@ import * as Sentry from "@sentry/nextjs"; export async function register() { if (process.env.NEXT_RUNTIME === "nodejs") { - await import("../sentry.server.config"); + await import("../sentry.server.config.js"); } if (process.env.NEXT_RUNTIME === "edge") { - await import("../sentry.edge.config"); + await import("../sentry.edge.config.js"); } } diff --git a/apps/frontend/tsconfig.json b/apps/frontend/tsconfig.json index 8095e65..ad8eae4 100644 --- a/apps/frontend/tsconfig.json +++ b/apps/frontend/tsconfig.json @@ -10,8 +10,8 @@ "noEmit": true, "incremental": true, "esModuleInterop": true, - "module": "ESNext", - "moduleResolution": "Bundler", + "module": "NodeNext", + "moduleResolution": "NodeNext", "resolveJsonModule": true, "isolatedModules": true, "jsx": "preserve", @@ -24,7 +24,7 @@ "preserveWatchOutput": true, "baseUrl": ".", "paths": { - "@/*": ["./src/*"] + "@/*": ["./src/*.ts", "./src/*"] } }, "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts", "tailwind.config.ts"],