nitrojs / nitrojs/nitro

Make sure there is monorepo `.vercel/output`

Open
#1,770 7 comments 1 reaction 1 assignee View on GitHub

@pi0 is already working on this.

Since Sep 28, 2023.

preset:vercel v2
Dominant language
TypeScript
Stars
11.2k
Forks
899
Avg merge
2d 24m
Merged PRs (30d)
40

Description

When Niro builds are from a monorepo subdirectory (as root) like /project/docs/, we do generate /project/docs/.vercel/output but unless Vercel using configured sub-directory as root, tries output config from /project/.vercel/output.

In the past, we have tried to detect monorepo/workspace root and change defaults but it then introduced more edge cases. (references missing)

As an alternative and lighter workaround to this, we might try to create a symbolic link from /project/docs/.vercel/output to /project/.vercel/output to try to automatically resolve this problem.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.