Skill: Frontend bundling via Bun
Goal
Provide Make targets for TypeScript typecheck + bundling using Bun.
Recommended targets
- •
make install— install deps - •
make typecheck— TypeScript type checking - •
make build— typecheck + bundle for production - •
make build-client— bundle frontend only - •
make build-client-dev— bundle frontend with sourcemaps - •
make vendor— rebuild vendored frontend deps
Vendoring
All frontend JS dependencies are vendored in public/vendor/.
The make vendor target rebuilds them from node_modules/.
Import maps in index.html resolve bare specifiers to vendored files.