Turborepo was not passing the API_URL environment variable to the build process, causing Next.js rewrites to fall back to the default test API instead of the production API configured in Vercel. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
27 lines
655 B
JSON
27 lines
655 B
JSON
{
|
|
"$schema": "https://turbo.build/schema.json",
|
|
"globalDependencies": ["tsconfig.json", "tsconfig.base.json"],
|
|
"globalEnv": ["API_URL"],
|
|
"tasks": {
|
|
"build": {
|
|
"dependsOn": ["^build"],
|
|
"inputs": ["src/**", "package.json", "tsconfig.json"],
|
|
"outputs": ["dist/**"]
|
|
},
|
|
"dev": {
|
|
"dependsOn": ["^build"],
|
|
"cache": false,
|
|
"persistent": true
|
|
},
|
|
"typecheck": {
|
|
"dependsOn": ["^build"],
|
|
"inputs": ["src/**", "package.json", "tsconfig.json"],
|
|
"outputs": []
|
|
},
|
|
"lint": {
|
|
"dependsOn": ["^lint"],
|
|
"inputs": ["src/**", "package.json"],
|
|
"outputs": []
|
|
}
|
|
}
|
|
}
|