2025-11-23 10:55:04 +08:00
|
|
|
import type { NextConfig } from "next";
|
|
|
|
|
|
|
|
|
|
const nextConfig: NextConfig = {
|
2026-01-10 10:35:21 +08:00
|
|
|
turbopack: {
|
|
|
|
|
// 避免 monorepo/多 lockfile 场景下 root 误判,减少构建与热更新的不确定性
|
|
|
|
|
root: __dirname,
|
|
|
|
|
},
|
2025-11-23 10:55:04 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default nextConfig;
|