UNPKG

arc-vite

Version:

Declaratively bundle and execute code specific to your users ARC and Vite.

19 lines (18 loc) 535 B
import { type FlagSet } from "./flags"; import { ReadOncePersistedStore } from "./read-once-persisted-store"; export type Options = { runtimeId?: string; } & ({ flags: (string | string[])[]; } | { flagSets: FlagSet[]; }); export interface InternalPluginOptions { runtimeId: string; flagSets: FlagSet[]; forceFlagSet: FlagSet | undefined; store: ReadOncePersistedStore<{ serverEntryFiles: string[]; }>; } export declare function getInternalPluginOptions(options: Options): InternalPluginOptions;