-
Notifications
You must be signed in to change notification settings - Fork 0
Fix Vercel deployment by copying Next.js build output to project root #50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix Vercel deployment by copying Next.js build output to project root #50
Conversation
Co-Authored-By: Nathan Clevenger <nateclev@gmail.com>
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
… directories Co-Authored-By: Nathan Clevenger <nateclev@gmail.com>
Co-Authored-By: Nathan Clevenger <nateclev@gmail.com>
Co-Authored-By: Nathan Clevenger <nateclev@gmail.com>
… router generation Co-Authored-By: Nathan Clevenger <nateclev@gmail.com>
Co-Authored-By: Nathan Clevenger <nateclev@gmail.com>
…nent error Co-Authored-By: Nathan Clevenger <nateclev@gmail.com>
|
Devin is archived and cannot be woken up. Please unarchive Devin if you want to continue using it. |
1 similar comment
|
Devin is archived and cannot be woken up. Please unarchive Devin if you want to continue using it. |
Co-Authored-By: Nathan Clevenger <nateclev@gmail.com>
…s router artifacts Co-Authored-By: Nathan Clevenger <nateclev@gmail.com>
Fix Vercel deployment by copying Next.js build output to project root
This PR addresses the Vercel deployment issue that was causing the following error:
Changes Made
copyDirRecursivelyfunction to recursively copy directoriesbuildcommand to copy the Next.js build output (.nextdirectory) from the mdxe package to the user's project root after the build process completesTesting
These changes have been verified with:
pnpm lint)pnpm check-types)The implementation ensures that after a successful Next.js build, the build output is copied from the mdxe package's directory to the user's project root, which should fix the deployment issues on Vercel.
Link to Devin run
https://app.devin.ai/sessions/312c0ac709db451ba4c680e4820fb468
Requested by: Nathan Clevenger (nateclev@gmail.com)