29f6533e63
The new prisma-client generator outputs TypeScript files to src/generated/prisma/ which include import.meta.url at module level. Turbopack sees this and marks the entire module as a client reference, causing 'Cannot access toStringTag on the server' on every page that uses Prisma. Switching to prisma-client-js puts the generated client in node_modules/@prisma/client where serverExternalPackages can properly exclude it from the server bundle. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>