From b0ad3a128e03fec1ff92ef16d72302421536af52 Mon Sep 17 00:00:00 2001 From: openhands Date: Tue, 21 Jul 2026 23:49:23 +0200 Subject: [PATCH] fix: resolve turbopack NFT warning and disable Sentry telemetry --- next.config.ts | 1 + src/lib/services/upload-import.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/next.config.ts b/next.config.ts index 718e70c3..f40230a8 100644 --- a/next.config.ts +++ b/next.config.ts @@ -103,4 +103,5 @@ export default withBA(withSentryConfig(config, { release: { create: Boolean(sentryAuthToken), }, + telemetry: false, })); diff --git a/src/lib/services/upload-import.ts b/src/lib/services/upload-import.ts index bc5e153c..6d39dcae 100644 --- a/src/lib/services/upload-import.ts +++ b/src/lib/services/upload-import.ts @@ -35,7 +35,7 @@ export interface UploadParams { customparams?: string; } -const MIGRATIONS_DIR = path.resolve(process.cwd(), "prisma/migrations"); +const MIGRATIONS_DIR = path.resolve(/*turbopackIgnore: true*/ process.cwd(), "prisma/migrations"); let itemsBaseIdAllocChain: Promise = Promise.resolve();