CLI wrapper that turns esbuild config files into commands with enhanced developer experience for browser and Node applications. Version 3.3.11 (stable), pairs with esbuild >=0.25.0. Unlike Vite or Parcel which use esbuild only as a transpiler, esbd delegates to esbuild's bundler for 10-100x speed and adds live-reload, HTML entry points, sideband type checking, in-browser error overlay, and asset copying without sacrificing performance. Does not support HMR or unbundled dev. Ships TypeScript types and supports JS plugins. Monthly releases on GitHub.
npm install esbdNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a CLI script that builds an HTML entry point with live-reload and optional type checking.
Convert to ES modules by setting 'type': 'module' or using .mjs extension, and use import syntax.
Update esbuild to >=0.25.0: npm install esbuild@latest
Replace .bundle(...) calls with configure({...}) and pass the same options object.Ensure your HTML file includes a <script type="module" src="./main.ts"> or similar.
For browser apps, use `configure({ serve: { port: 8080 } })` and serve over HTTP.Ensure tsconfig.json has `compilerOptions.noEmit: true` and `compilerOptions.isolatedModules: true` for compatibility.
Change to `import { configure } from 'esbd'` or switch to CommonJS if using an older version (v2)Run `npm install -D esbuild@latest` (must be >=0.25.0)
Add `entryPoints: ['./index.ts', './index.html']` to your configure call
Use `import { configure } from 'esbd'` instead