mytril
Version:
Mytril Svelte library component for rapidly building modern websites based on Svelte and Sveltekit
15 lines (14 loc) • 550 B
TypeScript
import type { ViteDevServer } from 'vite';
/**
* A Vite plugin for Mytril that handles configuration and file watching.
*
* @param props - An object containing optional properties.
* @param props.modeDev - A boolean indicating if the developer mode is enabled.
* @returns An object representing the Vite plugin.
*/
export declare function mytril(): Promise<{
name: string;
configResolved(): Promise<void>;
configureServer(server: ViteDevServer): Promise<void>;
transform(code: string | string[], id: string): Promise<void>;
}>;