arc-vite
Version:
Declaratively bundle and execute code specific to your users ARC and Vite.
16 lines (15 loc) • 467 B
TypeScript
import type { Plugin } from "vite";
import { type Options } from "./utils/options";
export { createFlagSets, hasFlags } from "./utils/flags";
export default function arcVite(options: Options): Plugin[];
declare module "arc-server" {
function getAssets(entry: string, options?: {
base?: string;
injectAttrs?: string;
}): {
"head-prepend"?: string;
head?: string;
"body-prepend"?: string;
body?: string;
};
}