vite
Version:
Native-ESM powered web dev build tool
15 lines (14 loc) • 439 B
TypeScript
import type { ResolvedConfig } from '..';
import type { Plugin } from '../plugin';
export declare type Manifest = Record<string, ManifestChunk>;
export interface ManifestChunk {
src?: string;
file: string;
css?: string[];
assets?: string[];
isEntry?: boolean;
isDynamicEntry?: boolean;
imports?: string[];
dynamicImports?: string[];
}
export declare function manifestPlugin(config: ResolvedConfig): Plugin;