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);