arc-vite
Version:
Declaratively bundle and execute code specific to your users ARC and Vite.
11 lines (10 loc) • 379 B
TypeScript
import type { Rollup } from "vite";
export declare function prepareArcEntryHTML(runtimeId: string, html: string, renderAssetURL: (fileName: string) => string, originalChunk: Rollup.OutputChunk, adaptedChunk: Rollup.OutputChunk): string | {
tag: string;
attrs: {
type: string;
async: boolean;
crossorigin: boolean;
src: string;
};
}[];