payload.config.ts used explicit .js extensions on local imports which Turbopack and webpack cannot resolve to .ts files without extensionAliases config. Revert to extension-less imports (original pattern from first Payload commit) that both bundlers handle natively. Also fix two TypeScript strict-mode errors: - seed/route.ts: doc.id (number) cast to string via String() instead of `as string` - getHomeData.ts: Payload HomePage vs HomePageGlobal cast via `as unknown as` Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
3 lines
35 B
JSON
3 lines
35 B
JSON
{
|
|
"extends": "./tsconfig.json"
|
|
}
|