esbuild.do

Build JavaScript at the Edge

Bundle, transform, and minify JavaScript/TypeScript at the edge with instant HMR and automatic tree-shaking for production-ready builds.

Read the docs
index.tsesbuild.do
import { Esbuild } from 'esbuild.do' // Transform TypeScript at the edge in <10mson.Request.to.API(async $ => {  const result = await Esbuild.transform({    code: $.body,    loader: 'tsx',    minify: true  })  return $.Response.json({ code: result.code, buildTime: result.duration })}) // Auto-rebuild and hot reload on file changeson.File.changed($ => $.Esbuild.rebuild().then(b => $.DevServer.reload(b)))

One of 48 primitives

esbuild.do sits in Build: ship from code, cli or mcp. Every .do shares one grammar, Business-as-Code, and one SDK.

Business

Goals, plans and the work itself

Workflows

Triggers, steps and functions

Data

Records, vocabulary and search

Insight

Measure, test and trace

Build

Ship from code, CLI or MCP

Frequently asked questions

Build your 1-person unicorn

Write the business. Agents run it around the clock.

Read the docs