An esbuild plugin that delegates TypeScript compilation to the official tsc compiler, enabling support for features not natively handled by esbuild, such as emitDecoratorMetadata, experimental decorators, and other TypeScript-only transforms. Version 0.5.0 supports TypeScript ^4.0.0 || ^5.0.0 and ships TypeScript type definitions. It targets projects that need tsc for specific files (e.g., those using decorators) while letting esbuild handle the rest, or can force tsc for all files via the `force` option. Released as needed, with a focus on bridging gaps between esbuild's fast but limited TS support and tsc's full feature set.
Verified import paths — ran on the pinned version, not inferred.
Package exports a default function; ESM import is recommended. CommonJS require works but may cause interop issues in TypeScript.
There is no named export; only default export exists. Attempting named import will cause runtime undefined.
Options is a type-only export. Use import type to avoid emitting a value import. Only used in TypeScript code.
Configures esbuild with the plugin to compile TypeScript, optionally enabling JSX support via tsx option.
Breaking-change detection hasn't run for this library yet.
CVE tracking and dependency tree are planned for a later release.