Make sure there is monorepo `.vercel/output`
Open
@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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.