TypeScript checker plugin for esbuild that runs tsc diagnostics during bundling. Version 0.1.2 requires esbuild ^0.14.11 and TypeScript ^4.5.4. Unlike esbuild's built-in type stripping, this plugin performs full type checking and reports errors via esbuild's logging. Designed for projects using esbuild with TypeScript, it integrates type checking into the build pipeline without needing a separate tsc watch process.
npm install esbuild-plugin-checkerNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows basic usage integrating checkerPlugin with esbuild build, including optional tsconfig path.
Update esbuild to version ^0.14.11 or later.
Update TypeScript to ^4.5.4 or later.
Run with --force option to clear TypeScript incremental cache.
Use esbuild's watch mode combined with onRebuild callback to recheck.
Run: pnpm add -D esbuild-plugin-checker (requires PNPM)
Use named import: import { checkerPlugin } from 'esbuild-plugin-checker'Update esbuild to ^0.14.11: pnpm add esbuild@^0.14.11