You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
vercel target: let the build describe static assets, extra functions and routes #679
b4 build with targets: ["vercel"] emits only the runtime function (.vercel/output/functions/index.func plus a catch-all config.json). A real app also ships static assets (a SPA) and its own HTTP endpoints beside /agui and /threads. Today that means post-processing the published tree with an external assembler (tools/vercel/assemble.mjs in hashbrown) that copies the function, adds a static dir with SPA fallback, bundles extra functions, and rewrites routes.
Proposal
Let the target describe the whole deployable tree so b4 build alone produces it:
Activity
docs(vercel): describe the composed tree in the Vercel guide
feat(cli): compose static assets, functions, and routes into the Verc…
docs(upgrading): record the vercel function rename to b4.func (#725)