Files
mcpedia/apps/web/next.config.ts
T

15 lines
387 B
TypeScript
Raw Normal View History

import type { NextConfig } from "next";
const nextConfig: NextConfig = {
// @mcpedia/db pulls in the `postgres` driver + node:fs; keep it external to
// the server bundle so it runs in the Node runtime as-is.
serverExternalPackages: [
"@mcpedia/core",
"@mcpedia/db",
"@mcpedia/config",
"@mcpedia/parser",
"@mcpedia/search",
],
};
export default nextConfig;