@marko/vite
Version:
A Marko plugin for Vite
13 lines (12 loc) • 465 B
TypeScript
import serialize from "./serializer";
type SerializedOrNull = null | ReturnType<typeof serialize>;
export interface DocManifest {
preload: string[];
"head-prepend": SerializedOrNull;
head: SerializedOrNull;
"body-prepend": SerializedOrNull;
body: SerializedOrNull;
}
export declare function generateDocManifest(basePath: string, rawHtml: string): Promise<DocManifest>;
export declare function generateInputDoc(entry: string): string;
export {};