UNPKG

@marko/vite

Version:
14 lines (13 loc) 425 B
import * as compiler from "@marko/compiler"; import type * as vite from "vite"; export declare namespace API { type getMarkoAssetCodeForEntry = (id: string) => string | void; } export interface Options { linked?: boolean; runtimeId?: string; translator?: string; basePathVar?: string; babelConfig?: compiler.Config["babelConfig"]; } export default function markoPlugin(opts?: Options): vite.Plugin[];