Browse Source
- colors/page.tsx: Record<string, unknown> вместо Record<string, string> - next.config.ts: turbopack.root только в development (Vercel conflict fix) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>sprint/3
2 changed files with 8 additions and 4 deletions
@ -1,10 +1,14 @@ |
|||||||
import type { NextConfig } from "next"; |
import type { NextConfig } from "next"; |
||||||
import path from "path"; |
import path from "path"; |
||||||
|
|
||||||
|
const isDev = process.env.NODE_ENV === "development"; |
||||||
|
|
||||||
const nextConfig: NextConfig = { |
const nextConfig: NextConfig = { |
||||||
turbopack: { |
...(isDev && { |
||||||
root: path.resolve(__dirname, "../.."), |
turbopack: { |
||||||
}, |
root: path.resolve(__dirname, "../.."), |
||||||
|
}, |
||||||
|
}), |
||||||
}; |
}; |
||||||
|
|
||||||
export default nextConfig; |
export default nextConfig; |
||||||
|
|||||||
Loading…
Reference in new issue