fix: correct outputs path and add actual env var names

- Change outputs from dist/** to .next/** (Next.js default)
- Keep POSTHOG_API_KEY and FREE_TIER_AMOUNT to silence Vercel warnings
- Add NEXT_PUBLIC_POSTHOG_KEY and NEXT_PUBLIC_POSTHOG_HOST for
  correct Turborepo cache invalidation
This commit is contained in:
Jean du Plessis
2026-02-19 12:13:21 +02:00
parent 502eaf080c
commit c4b8eac8c3
+2 -2
View File
@@ -18,8 +18,8 @@
},
"@kilocode/kilo-docs#build": {
"dependsOn": ["^build"],
"outputs": ["dist/**"],
"env": ["POSTHOG_API_KEY", "FREE_TIER_AMOUNT"]
"outputs": [".next/**"],
"env": ["POSTHOG_API_KEY", "FREE_TIER_AMOUNT", "NEXT_PUBLIC_POSTHOG_KEY", "NEXT_PUBLIC_POSTHOG_HOST"]
}
}
}