Skip to content

templates: skip standalone output on Vercel - #1144

Merged
AbhinRustagi merged 1 commit into
mainfrom
devin/1789019354-templates-vercel-deployable
Sep 10, 2026
Merged

templates: skip standalone output on Vercel#1144
AbhinRustagi merged 1 commit into
mainfrom
devin/1789019354-templates-vercel-deployable

Conversation

@devin-ai-integration

Copy link
Copy Markdown
Contributor

What

Vercel deploys of the openui-cloud template fail because Next 16.3 + Vercel's build adapter skips emitting next-server.js.nft.json when output: "standalone" is set. Vercel ignores standalone output anyway, so the config is only useful for Docker / self-hosting.

Cherry-picked from the openui deploy PR (#1093) so the template fix can land independently of the CLI deploy command.

Changes

  • templates/openui-cloud/next.config.ts and templates/openui-cloud/overlays/vercel-eve/next.config.ts: ...(process.env.VERCEL ? {} : { output: "standalone" as const }) — standalone stays on everywhere except Vercel builds.

Test Plan

  • Verified locally: diff is byte-identical to the next.config.ts changes on feat/cli-vercel-deploy-split (commit 132cb61), which was validated against a real Vercel deploy in that PR's QA; prettier --check passes.

Checklist

  • I linked a related issue, if applicable (cli: add openui deploy for Vercel #1093)
  • I updated docs/README when needed (no doc references standalone output)
  • I considered backwards compatibility (non-Vercel builds keep output: "standalone")

Link to Devin session: https://app.devin.ai/sessions/435c06221d5647e1ba5fc348879a7b89
Open in Devin Desktop: https://app.devin.ai/desktop/session/435c06221d5647e1ba5fc348879a7b89?variant=devin

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment, CI, and merge conflict monitoring

@vercel

vercel Bot commented Sep 10, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated
openui-docs Ready Ready Preview Sep 10, 2026 5:51am UTC

Request Review

@AbhinRustagi
AbhinRustagi enabled auto-merge (squash) September 10, 2026 05:50
@AbhinRustagi
AbhinRustagi merged commit 42b2cd6 into main Sep 10, 2026
31 of 33 checks passed
@AbhinRustagi
AbhinRustagi deleted the devin/1789019354-templates-vercel-deployable branch September 10, 2026 05:53
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