@marko/vite
Version:
A Marko plugin for Vite
14 lines (13 loc) • 425 B
TypeScript
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[];