stax-monorepo
    Preparing search index...

    Interface SsgAdapterOptions

    interface SsgAdapterOptions {
        clientScript?: string;
        outDir?: string;
        styles?: readonly string[];
    }
    Index
    clientScript?: string

    URL(s) of the hashed client script injected into the SSG'd document. Defaults to "/client.js". Normally overridden by reading the Vite client build's .vite/manifest.json at build time, but the adapter accepts a static override if your client-side setup is unusual.

    outDir?: string

    Directory the generated HTML files should land in, relative to the project root. Defaults to "dist" — HTML lives next to client assets so a static file server can serve the whole tree from one root.

    styles?: readonly string[]

    URL(s) of the hashed stylesheets. Defaults to "/styles.css". Same manifest-override rules as clientScript.