UNPKG

telefunc

Version:

Remote functions. Instead of API.

10 lines (9 loc) 301 B
export { apply }; import type { UserConfig } from 'vite'; declare function apply(when: 'dev' | 'preview', { skipMiddlewareMode, onlyViteCli }?: { skipMiddlewareMode?: true; onlyViteCli?: true; }): (config: UserConfig, { command, mode }: { command: string; mode: string; }) => boolean;