library · inferred from evidence
next/dynamic
A Next.js utility for dynamically importing components with configurable server-side rendering behavior.
- The Edge Function exceeds the maximum size limit of 1 MB
Your Vercel deploy fails because an Edge Function (usually middleware.ts) is bigger than the edge size cap: 1 MB on Hobby, 2 MB on Pro, 4 MB on Enterprise, measured after gzip. This shows how to slim it down: audit what middleware imports,