UNPKG

@farmfe/core

Version:

Farm is a extremely fast web build tool written in Rust. Farm can start a project in milliseconds and perform HMR within 10ms, making it much faster than similar tools like webpack and vite.

8 lines (7 loc) 420 B
import type { PluginContext } from 'rollup'; import type { UserConfig } from '../../config/types.js'; import type { CompilationContext } from '../type.js'; export declare function farmContextToViteContext(farmContext: CompilationContext, currentHandlingFile?: string, pluginName?: string, hookName?: string, config?: UserConfig, hookContext?: { caller?: string; meta: Record<string, unknown>; }): PluginContext;