Files
brand_book/apps/web/next.config.ts
T
AR 15 M4 657cc26d3e fix: TypeScript-ошибка в exportTokens, next.config.ts для Vercel
- 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>
2026-03-22 18:06:54 +05:00

15 lines
278 B
TypeScript

import type { NextConfig } from "next";
import path from "path";
const isDev = process.env.NODE_ENV === "development";
const nextConfig: NextConfig = {
...(isDev && {
turbopack: {
root: path.resolve(__dirname, "../.."),
},
}),
};
export default nextConfig;