Configuration

Static export

Separate deployment lane producing static assets. Request-dependent server features are not available on a static file host; verify dynamic path, image and handler restrictions. Source: https://nextjs.org/docs/app/guides/static-exports

Formal Syntax & Structure

nextjs syntaxnextjs
const config = { output: "export" };

Working Example

Example Snippetnextjs
export default { output: "export" };
Next.js Reference