-
Notifications
You must be signed in to change notification settings - Fork 87
fix: tracing root use appDir
as fallback
#2136
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
Conversation
✅ Deploy Preview for netlify-plugin-nextjs-nx-monorepo-demo ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
✅ Deploy Preview for netlify-plugin-nextjs-next-auth-demo ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
✅ Deploy Preview for next-plugin-canary ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
✅ Deploy Preview for netlify-plugin-nextjs-export-demo ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
✅ Deploy Preview for next-i18next-demo ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
✅ Deploy Preview for nextjs-plugin-custom-routes-demo ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
✅ Deploy Preview for netlify-plugin-nextjs-demo ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
✅ Deploy Preview for netlify-plugin-nextjs-static-root-demo ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
✅ Deploy Preview for next-plugin-edge-middleware ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
We could've caught this earlier, if @orinokai do you think it'd make sense to enable TypeScript strict mode for this repo? |
Ha, looks like there's failures! Turning into a draft. |
…xt-runtime into relativeAppDir-default-values
Description
We were relying on values
relativeAppDir
andoutputFileTracingRoot
that were optional, and don't exist for every version of Next.js.relativeAppDir
was introduced in vercel/next.js#46393.appDir
was introduced in vercel/next.js#22915.outputFileTracingRoot
was introduced in vercel/next.js#30857.This PR makes it so that we fall back to use
appDir
ifoutputFileTracingRoot
andrelativeAppDir
aren't available.Documentation
Tests
You can test this change yourself like so:
Relevant links (GitHub issues, etc.) or a picture of cute animal