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 [