Skip to content

Vite Plugin / delivery: createStaticViteCatalogBootstrap

Functions, types, and exports for Vite Plugin / delivery: createStaticViteCatalogBootstrap.

Page outline

Prepare a framework-produced static document after its prerender step.

import { createStaticViteCatalogBootstrap } from "@palamedes/vite-plugin/delivery"

createStaticViteCatalogBootstrap(options: StaticViteCatalogBootstrapOptions): {
    transformDocument(input: StaticViteDocumentOptions): {
        html: string;
        bootstrap: {
            fileName: string;
            source: string;
            integrity: string;
        };
        cspHashes: string[];
    };
}

Parameters

NameTypeRequired
optionsStaticViteCatalogBootstrapOptionsYes

Returns

{ transformDocument(input: StaticViteDocumentOptions): { html: string; bootstrap: { fileName: string; source: string; integrity: string }; cspHashes: string[] } }

Source entry on GitHub

Last updated: November 21, 2026