comptime.ts
Version:
<div align="center"> <img src="https://raw.githubusercontent.com/feathers-studio/comptime.ts/master/docs/comptime.ts.svg" alt="Hyperactive"> </div>
8 lines (7 loc) • 329 B
TypeScript
import type { FilterPattern, Plugin } from "vite";
import { type GetComptimeReplacementsOpts } from "./comptime.ts";
export type ComptimeVitePluginOpts = GetComptimeReplacementsOpts & {
include?: FilterPattern;
exclude?: FilterPattern;
};
export declare function comptime(opts?: ComptimeVitePluginOpts): Promise<Plugin>;