esbuild-plugin-tsc
Version:
An esbuild plugin which uses tsc to compile typescript files.
16 lines (14 loc) • 405 B
TypeScript
declare function esbuildPluginTsc(options?: {
// If empty, uses tsconfig.json
tsconfigPath?: string;
// If true, force compilation with tsc
force?: boolean;
// If true, force TypeScript to treat files without the `.mts` extension as ESM
forceEsm?: boolean;
// If true, enables tsx file support
tsx?: boolean;
}): {
name: string;
setup(build: any): void;
};
export = esbuildPluginTsc;