af1fb6f61e
Use @/generated/prisma/client instead of @prisma/client to avoid Turbopack creating a broken external proxy for the missing .prisma/client/default module at runtime. Add @prisma/adapter-pg to serverExternalPackages, remove unused resolveAlias. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
10 lines
253 B
TypeScript
10 lines
253 B
TypeScript
import type { NextConfig } from "next";
|
|
|
|
const nextConfig: NextConfig = {
|
|
output: "standalone",
|
|
transpilePackages: ["unified", "remark-parse"],
|
|
serverExternalPackages: ["@prisma/client", "@prisma/adapter-pg", "pg"],
|
|
};
|
|
|
|
export default nextConfig;
|