esbuild-scripts is a CLI tool that wraps esbuild and provides a live-reloading dev server and static site build commands. It aims to eliminate repetitive configuration across projects. Current version 0.0.7 (pre-1.0, no fixed release cadence). Requires esbuild >=0.19.3 as a peer dependency. Only ESM config files are supported. Differentiator: lightweight alternative to heavier bundlers or custom scripts, with built-in live reload server.
npm install esbuild-scriptsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates installing, creating a minimal ESM config file, and starting the dev server.
Convert config to ESM syntax (export const).
Run 'npm install --save-dev esbuild' in your project.
Ensure esbuildConfig returns an object with 'outdir' property.
Add '"type": "module"' to package.json or rename file to .mjs and use ESM syntax.
Run 'npm install --save-dev esbuild'.