import type { NextConfig } from "next"; const nextConfig: NextConfig = { // Pin the workspace root so stray lockfiles in parent directories // don't confuse Turbopack's project detection. turbopack: { root: __dirname }, experimental: { // Site-import uploads carry a whole backup in one action request; // the default 1 MB cap is far too small. Imports themselves are // capped at 20 MB in importSiteAction. serverActions: { bodySizeLimit: "25mb" }, }, }; export default nextConfig;