Skip to content

vercel target: allow an output directory override and relax validateVercelOutput #680

Closed

Description

@blove

Problem

The vercel target always publishes to <appRoot>/.vercel/output (no --out-dir / build.outDir), and validateVercelOutput rejects any config.json other than the exact catch-all. Any composition (adding static assets or other functions) has to happen after the build by mutating the published tree, and cannot use the validator.

Proposal

  • Accept an output directory override (b4 build --out-dir or build.vercel.outDir).
  • Relax validateVercelOutput to check that the runtime route/function is present rather than that the config is byte-identical, so composed outputs still validate.

Related: #679.

Activity

  1. added
    enhancement
    on Sep 17, 2026
  2. added 3 commits that reference this issue on Sep 17, 2026
    96d4ab3
    2bf58f0
    72363cc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions