Skip to content

docs(core): correct build.vercel type docs for the unconditional function name - #720

Merged
blove merged 1 commit into
mainfrom
blove/vercel-function-name-docs
Sep 18, 2026
Merged

blove merged 1 commit into
mainfrom
blove/vercel-function-name-docs

Conversation

@blove

@blove blove commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

Follow-up to #717, which renamed the Vercel runtime function to b4.func in every build.

That PR updated the guides, the CLI reference and the configuration page, but left two statements of the old conditional rule in the published @b4run/core config type, where they are the text an editor shows on hover:

  • VercelBuildConfig.functionName documented its default as "index", or "b4" once static is set.
  • B4Config.build.vercel described a bare build as emitting functions/index.func.

Both now state the single b4 default. No behaviour change; comments only.

I found these by grepping main for index.func after #717 merged, having grepped only the tests and the MDX pages before pushing it.

Validation

  • @b4run/core build, typecheck and lint
  • node scripts/check-docs.mjs
  • node scripts/check-changesets.mjs
  • seo:lastmod:check (no content pages touched)

🤖 Generated with Claude Code

…tion name

#717 renamed the runtime function to b4.func in every build but left two
statements of the old conditional rule in the published config type: the
functionName default, and build.vercel describing a bare build as emitting
functions/index.func.

Co-Authored-By: Claude Opus 5 <[email protected]>
@vercel

vercel Bot commented Sep 17, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
b4-run Ready Ready Preview Sep 17, 2026 11:41pm UTC

Request Review

@blove
blove enabled auto-merge (squash) September 17, 2026 23:40

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated approval: this PR received an intelligent (AI) code review. See the review comments on this PR.

@blove
blove merged commit 765e6e1 into main Sep 18, 2026
30 of 31 checks passed
@blove
blove deleted the blove/vercel-function-name-docs branch September 18, 2026 00:05

This branch was successfully deployed

1 active and 1 inactive deployments
Preview — 3fa1e0f9 Deployed Sep 17, 2026 by vercel[bot]
vercel-preview — 3fa1e0f9 Deployed Sep 17, 2026 by blove via vercel-native #2042
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant