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, move heavy libs out, narrow the matcher so it does not bundle page code. Use wh…