Files
probably-rendering-one-more…/next.config.ts
T
codex-bot 1defcf0b0a
PROMPT Docker CI and deployment / verify-and-deploy (push) Successful in 18m5s
Separate agent entrypoint and avoid documentation-only Docker rebuilds
2026-10-23 16:08:01 +08:00

12 lines
506 B
TypeScript

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