UNPKG

vite-plugin-csp-guard

Version:

A Vite plugin that lets SPA applications generate a Content Security Policy (CSP).

7 lines 402 B
export declare function processHtmlForSri(html: string, sriByPathname: Record<string, string>, dynamicChunkFiles: Set<string>, base: string, crossorigin?: string, skipResources?: string[], debug?: boolean, /** Replace old hashes with new in CSP (for entry chunks after runtime injection) */ hashReplacements?: { old: string; new: string; }[]): string; //# sourceMappingURL=processHtml.d.ts.map