17 lines
602 B
TypeScript
17 lines
602 B
TypeScript
import type { NextConfig } from "next";
|
|
|
|
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 nextConfig;
|