Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

feat(build): set root directory for turbopack configuration (#33812)

Bowen Liang282e76b1ee82
diff --git a/web/next.config.ts b/web/next.config.ts
index aa4d9318f47..838aa561a32 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',
}),