Amplify Toolbox
    Preparing search index...
    type NitroAdapterOptions = {
        buildCommand?: string[];
        preset?: string;
        projectDir: string;
        skipBuild?: boolean;
    }
    Index

    Properties

    buildCommand?: string[]

    Build command override. Defaults to npm run build, which works for Nuxt, SolidStart, Analog, TanStack Start, and any Nitro-based project that wires build to its framework's CLI in package.json.

    Pass an explicit array (e.g. ['nuxt', 'build']) to bypass npm and call the framework CLI directly.

    preset?: string

    Override the Nitro preset to build with.

    Defaults to 'aws-lambda' which produces an AWS Lambda handler. To enable response streaming, set nitro.awsLambda.streaming: true in the user's nuxt.config.ts (the adapter reads this from .output/nitro.json). 'node-server' produces a plain Node HTTP server (run via the Lambda Web Adapter).

    projectDir: string

    Project root directory (the directory containing the framework config)

    skipBuild?: boolean

    Skip the build step (use a pre-existing .output/)