Error: The Edge Function "index" size is 1.04 MB and your plan size limit is 1 MB
when I deploy my app I get this error now
How is this calculated and how can I reduce my bundle size?
Route (pages) Size First Load JS
┌ ℇ / 4.4 kB 164 kB
├ /_app 0 B 156 kB
├ ○ /404 707 B 156 kB
├ ○ /500 713 B 156 kB
+ First Load JS shared by all 161 kB
├ chunks/framework-ac88a2a245aea9ab.js 45.2 kB
├ chunks/main-5e142a69d385547d.js 32.9 kB
├ chunks/pages/_app-468d7903a1177195.js 76.7 kB
├ chunks/webpack-59c5c889f52620d6.js 819 B
└ css/bb51346af44a3b0f.css 4.81 kB
ƒ Middleware 217 kB
Error: The Edge Function "index" size is 1.04 MB and your plan size limit is 1 MB. Learn More: https://vercel.link/edge-function-size
NOW_SANDBOX_WORKER_MAX_MIDDLEWARE_SIZE: The Edge Function "index" size is 1.04 MB and your plan size limit is 1 MB.
Route (pages) Size First Load JS
┌ ℇ / 4.4 kB 164 kB
├ /_app 0 B 156 kB
├ ○ /404 707 B 156 kB
├ ○ /500 713 B 156 kB
+ First Load JS shared by all 161 kB
├ chunks/framework-ac88a2a245aea9ab.js 45.2 kB
├ chunks/main-5e142a69d385547d.js 32.9 kB
├ chunks/pages/_app-468d7903a1177195.js 76.7 kB
├ chunks/webpack-59c5c889f52620d6.js 819 B
└ css/bb51346af44a3b0f.css 4.81 kB
ƒ Middleware 217 kB
Error: The Edge Function "index" size is 1.04 MB and your plan size limit is 1 MB. Learn More: https://vercel.link/edge-function-size
NOW_SANDBOX_WORKER_MAX_MIDDLEWARE_SIZE: The Edge Function "index" size is 1.04 MB and your plan size limit is 1 MB.
0 Replies