UNPKG

vite-typescript-plugin

Version:

A Vite plugin for seamless integration between Vite and Typescript.

14 lines (13 loc) 455 B
import { HostOptions } from "./host"; import { PluginOption } from "vite"; export interface Options extends HostOptions { name?: string | "typescript"; test?: RegExp; } declare const createTsPlugin: (options?: Options) => PluginOption; /** @deprecated use createTsPlugin() */ declare const createPlugin: (options?: Options) => PluginOption; export * from "./host"; export { createPlugin, createTsPlugin, createTsPlugin as default };