Build Error: Exceeded Maximum Budget in Vercel Build Process

I am encountering an error during the build process that says: “exceeded maximum budget. Budget 4.00 kB was not met by 1.38 kB with a total of 5.38 kB.” The expected behavior is that my build would not exceed the size limit.

I have not modified any specific configuration related to the build size. The issue occurs during the build process on Vercel.

Steps to reproduce:

  1. Deploy a project on Vercel with a total bundle size above 4.00 kB.
  2. The build process will fail with the error message.

Framework: Angular 12+
Environment: Vercel
Project Settings: Default settings with no custom configuration for budget limits.

Hello, Unfortunately, this is coming from your Angular code not Vercel build infra: angular - WARNING in budgets, maximum exceeded for initial - Stack Overflow

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.