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
| Name | Type | Required |
|---|---|---|
options | StaticViteCatalogBootstrapOptions | Yes |
Returns
{ transformDocument(input: StaticViteDocumentOptions): { html: string; bootstrap: { fileName: string; source: string; integrity: string }; cspHashes: string[] } }
Last updated: November 21, 2026