vite-plugin-dts-build
Version:
A Vite plugin that runs TypeScript build process in a separate worker thread for better performance and efficient incremental builds
12 lines (11 loc) • 349 B
TypeScript
import type { PluginDtsBuildOptions } from "./types.js";
export declare function dts(options?: PluginDtsBuildOptions): {
name: string;
enforce: "pre";
apply: "build";
buildStart(): Promise<void>;
writeBundle(): Promise<void>;
watchChange(_id: string, change: {
event: "create" | "update" | "delete";
}): void;
};