one
Version:
One is a new React Framework that makes Vite serve both native and web.
17 lines • 563 B
TypeScript
import type { Plugin } from 'vite';
export declare const clientTreeShakePlugin: (opts?: {
runtime?: "vite" | "rolldown";
}) => Plugin;
export declare function transformTreeShakeClient(code: string, id: string, root?: string): Promise<{
code: string;
map: {
version: number;
sources: string[];
names: string[];
sourceRoot?: string | undefined;
sourcesContent?: string[] | undefined;
mappings: string;
file: string;
} | null;
} | undefined>;
//# sourceMappingURL=clientTreeShakePlugin.d.ts.map