Next.js · Senior · Question 59 of 75
What is the Build Adapters API (adapterPath) for?
- ✓Correct answer: Letting deployment platforms hook into the Next.js build to map its output to their infrastructure
- 2Converting Pages Router code to App Router
- 3Adapting images for different screen sizes
Explanation
Instead of reverse-engineering build output, a platform adapter receives a documented description of routes and functions. Vercel's adapter is a reference implementation.