name: Frontend bundling via Bun description: Bundling via Bun with Make targets for typecheck and bundling
Skill: Frontend bundling via Bun
Goal
Provide Make targets for TypeScript typecheck + bundling using Bun.
Recommended targets
make install— install depsmake typecheck— TypeScript type checkingmake build— typecheck + bundle for productionmake build-client— bundle frontend onlymake build-client-dev— bundle frontend with sourcemapsmake 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.