import type { NextConfig } from "next";
const nextConfig: NextConfig = {
// ssh2 has optional native bindings and must be loaded by Node, not bundled.
serverExternalPackages: ["ssh2"],
experimental: {
authInterrupts: true,
serverActions: {
// Large enough for file uploads through the web UI.
bodySizeLimit: "25mb",
},
},
};
export default nextConfig;