feat(example): add turbopack configuration to nextjs example#315
feat(example): add turbopack configuration to nextjs example#315
Conversation
Configure turbopack root to point to the monorepo root directory, enabling proper module resolution when running the nextjs example within the vercel-action workspace.
|
|
Deploy preview for team-scope-test ready! ✅ Preview Built with commit 99c78b8. |
|
Deploy preview for express-basic-auth ready! ✅ Preview Built with commit 99c78b8. |
|
Deploy preview for zeit-now-deployment-action-example-angular ready! ✅ Preview Built with commit 99c78b8. |
There was a problem hiding this comment.
Pull request overview
Adds Turbopack configuration to the Next.js example so it can resolve modules correctly from the monorepo root when run inside the vercel-action workspace.
Changes:
- Add
turbopackconfiguration block toexample/nextjs/next.config.js - Set
turbopack.rootto../..(monorepo root) for module resolution
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.



Summary
turbopackconfiguration toexample/nextjs/next.config.jsroot: '../..'to point to the monorepo root for proper module resolution when running the Next.js example within the vercel-action workspaceTest Plan
turbopackroot configuration resolves modules correctly from the monorepo rootSummary by cubic
Point the Next.js example’s
turbopackroot to../..so it resolves monorepo modules and builds correctly in the vercel-action workspace.Written for commit 99c78b8. Summary will update on new commits.