Closed
Description
Next.js v12 was just announced by Vercel. This issue is requesting for Next.js v12 support on Amplify Hosting.
Here's a checklist for general support. Some of these may Just Work ™️ out of the box; I haven't tested much.
- Basic v12 support (my non-
/api
-using app seems to work out of the box. It still uses Babel, would be good to confirm with an app building withswc
) - React 18 support: native Next.js APIs &
Suspense
- Native ES Modules support
- Middleware support (beta) (with Lambda@Edge)
-
<Image />
AVIF Support: Opt-in for 20% smaller images - Bot-aware ISR Fallback: Optimized SEO for web crawlers
- URL imports (alpha)
- React Server Components (alpha) with Next.js at the Edge
Known issues at this time:
/api
routes can result inModule not found
errors, likely related to Webpack 5 (see Next SSR Support does not work with imported files #1872), thanks @brainer1