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.
npm install esbuild-plugin-tscVerified import paths — ran on the pinned version, not inferred.
Configures esbuild with the plugin to compile TypeScript, optionally enabling JSX support via tsx option.
Use esbuild's native TypeScript support for most projects; only apply this plugin on specific files via the esbuild plugin filter mechanism.
Use TypeScript's module settings directly in tsconfig.json instead.
Set `force: false` (default) and rely on esbuild's built-in handling for most files.
Install typescript: `npm install --save-dev typescript`
Update imports to use default import: `import esbuildPluginTsc from 'esbuild-plugin-tsc'`
Run `npm install --save-dev typescript`
Change to `import esbuildPluginTsc from 'esbuild-plugin-tsc'`
Use `import esbuildPluginTsc from 'esbuild-plugin-tsc'` and ensure `esModuleInterop` is enabled in tsconfig.json.
No dependency data recorded yet.