Files
mcpedia/apps/web/next.config.ts
T
asepharyana ec3a2867d4 feat(mcpedia): Phase 1 MVP — monorepo, Core, Web UI, MCP server, Postgres FTS
- bun workspaces + Turborepo monorepo (apps/web, apps/mcp; packages/*, scripts)
- @mcpedia/core single business-logic layer (Document/Content/Search services)
- @mcpedia/db Drizzle schema: documents + weighted tsvector (GIN) for FTS
- @mcpedia/parser frontmatter, @mcpedia/search Postgres FTS (ts_rank+ts_headline)
- Next.js 16 Web UI (home/doc SSG, search dynamic) + react-markdown render
- MCP server (stdio) with 4 tools + in-memory smoke test
- scripts/indexer walks content/ -> upserts into Postgres
- 4 seed docs; README + PHASES status
2026-08-19 17:40:14 +07:00

10 lines
326 B
TypeScript

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/db", "@mcpedia/config", "@mcpedia/parser"],
};
export default nextConfig;