Is anyone else also facing the problem of increasing bundle size after upgrading vercel AI SDK to v5?
Is anyone else also facing the problem of increasing bundle size after upgrading vercel AI SDK to v5?
Hi , welcome to the Vercel Community!
Can you share some before and after measurements of your bundle size? There's a minimal change in the size:
ai@v5: https://bundlephobia.com/package/ai@5.0.59 - 67.5kB ai@v4 https://bundlephobia.com/package/ai@4.3.19 - 53.8kB
Looking forward to hearing from you.
In case this is helpful:
Unfortunately I don’t have the exact number now. But as far as I remember, It increased the bundle size by ~600kB