From 1bffbf9acb786a8a7c7b720f63db61a67e56e7e1 Mon Sep 17 00:00:00 2001 From: Alaister Young <10985857+alaister@users.noreply.github.com> Date: Thu, 21 May 2026 15:57:52 +0700 Subject: [PATCH] fix(studio): also disable turbopackRemoveUnusedImports to match Exports flag --- apps/studio/next.config.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/studio/next.config.ts b/apps/studio/next.config.ts index 15f82793855..0d91a0e594f 100644 --- a/apps/studio/next.config.ts +++ b/apps/studio/next.config.ts @@ -55,7 +55,10 @@ const nextConfig = { // production build". Remove once the trigger is identified. turbopackScopeHoisting: false, turbopackClientSideNestedAsyncChunking: false, + // turbopackRemoveUnusedImports defaults to true and requires + // turbopackRemoveUnusedExports, so we have to disable both together turbopackRemoveUnusedExports: false, + turbopackRemoveUnusedImports: false, }, async rewrites() { return [