Files
EvoScientist-WebUI/next.config.ts
T
m4 9e1e628ab7
CI / macos-latest / Node 20 (push) Has been cancelled
CI / ubuntu-latest / Node 20 (push) Has been cancelled
CI / windows-latest / Node 20 (push) Has been cancelled
feat(webui): next-intl scaffolding + en/zh catalog skeletons
2026-08-11 14:52:56 +08:00

20 lines
738 B
TypeScript

import type { NextConfig } from "next";
import createNextIntlPlugin from "next-intl/plugin";
const withNextIntl = createNextIntlPlugin("./src/i18n/request.ts");
const nextConfig: NextConfig = {
// Self-contained server bundle for the npm package (the bin launcher runs
// dist/server.js). Needed because /api/skills is a server route.
output: "standalone",
serverExternalPackages: ["better-sqlite3"],
experimental: {
// proxy.ts clones request bodies before route handlers see them. Keep its
// buffer large enough for the upload route's 100 MiB batch limit plus
// multipart framing; the route still enforces 50 MiB per file.
proxyClientMaxBodySize: "101mb",
},
};
export default withNextIntl(nextConfig);