stax-monorepo
    Preparing search index...

    Interface NodeAdapterOptions

    interface NodeAdapterOptions {
        clientScript?: string;
        port?: number;
        styles?: readonly string[];
    }
    Index
    clientScript?: string

    URL of the client script injected into the SSR'd document. Resolved at build time to the hashed filename if Vite emits one; defaults to "/client.js" matching the convention vite build produces for the client entry.

    port?: number

    Port the production server listens on. Overridable at runtime via PORT env var — the generated entry reads process.env.PORT first, falls back to this value, then to 3000.

    styles?: readonly string[]

    URLs for stylesheets injected into the SSR'd document. Defaults to ["/styles.css"]. Pass [] if your app has no top-level stylesheet (e.g. all styles are inlined via a framework like Tailwind in JIT mode).