From 282e76b1ee82e2cb48eaf0518f6111c9abe88ac1 Mon Sep 17 00:00:00 2001 From: Bowen Liang Date: Mon, 23 Mar 2026 10:04:53 +0800 Subject: [PATCH] feat(build): set root directory for turbopack configuration (#33812) --- web/next.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/web/next.config.ts b/web/next.config.ts index aa4d9318f4..838aa561a3 100644 --- a/web/next.config.ts +++ b/web/next.config.ts @@ -10,6 +10,7 @@ const nextConfig: NextConfig = { basePath: env.NEXT_PUBLIC_BASE_PATH, transpilePackages: ['@t3-oss/env-core', '@t3-oss/env-nextjs', 'echarts', 'zrender'], turbopack: { + root: process.cwd(), rules: codeInspectorPlugin({ bundler: 'turbopack', }),