Files
probably-rendering-one-more…/next.config.ts
T
codex-bot 46cd53a2a1
PROMPT Docker CI and deployment / verify-and-deploy (push) Successful in 16m58s
Pair every guidance page with Markdown and enable shared document references
2026-10-23 21:20:53 +08:00

19 lines
715 B
TypeScript

import type { NextConfig } from "next";
const nextConfig: NextConfig = {
serverExternalPackages: ["playwright-core"],
async rewrites(){return [
{source:"/index.md",destination:"/api/guidance"},
{source:"/skills/index.md",destination:"/api/guidance/skills"},
{source:"/skills/:path+/index.md",destination:"/api/guidance/skills/:path+"},
{source:"/agent",destination:"/api/agent-index"},
{source:"/agent/index.md",destination:"/api/agent-index"},
{source:"/skills/:skill/:doc.md",destination:"/api/skill-docs/:skill/:doc"},
]},
output: "standalone",
outputFileTracingIncludes: {"/*":["./node_modules/playwright-core/**/*"]},
poweredByHeader: false,
};
export default nextConfig;