Netlify deployment with Turborepo mono repo

I have a turborepo repository using pnpm and workspaces. I use Netlify to deploy my client application. I use build, not generate. I've set up the Netlify application using a GitHub repository, and it automatically detected the repository structure and added some build settings. I manually changed the "Publish directory" from dist to .output, and I can see that Netlify recognizes the correct folder.
**Build settings**
Runtime: Not set
Base directory: /
Package directory: apps/client
Build command: turbo run build --filter client
Publish directory: apps/client/.output
Functions directory: netlify/functions
...
**Build settings**
Runtime: Not set
Base directory: /
Package directory: apps/client
Build command: turbo run build --filter client
Publish directory: apps/client/.output
Functions directory: netlify/functions
...
The deployment succeeds, but the page is not found. I guess the issue is with the folders. There are two folders: public and server, and Netlify can't know which folder and file will be used. Can someone help me with the issue?
No description
1 Reply
Goku ごくう
Goku ごくうOP2mo ago
+ For Vercel users: I'd appreciate it if you're good at Vercel builds!
Want results from more Discord servers?
Add your server