mirror of
https://github.com/langgenius/dify.git
synced 2026-04-05 05:42:15 +08:00
feat(build): set root directory for turbopack configuration (#33812)
This commit is contained in:
@@ -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',
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user