output: "export" produces pure static HTML with no server at runtime, so the contact form's Server Action (src/actions/sendEmail.ts, nodemailer/SMTP) can never execute under it - Next.js itself refuses to build with a Server Action present under output: "export". The deploy architecture is being switched to a Node standalone runtime (see doormile-build) instead, which supports the existing Server Action unchanged.
976 B
976 B