one
Version:
One is a new React Framework that makes Vite serve both native and web.
10 lines • 414 B
TypeScript
import type { Plugin } from 'vite';
export declare const clientTreeShakePlugin: (opts?: {
runtime?: "vite" | "rolldown";
routerRoot?: string;
}) => Plugin;
export declare function transformTreeShakeClient(code: string, id: string, root?: string, routerRoot?: string): Promise<{
code: string;
map: import("magic-string").SourceMap;
} | undefined>;
//# sourceMappingURL=clientTreeShakePlugin.d.ts.map