FE/Angular

[ ANGULAR ] Build 용량 초과 메세지

HEON.D 2021. 9. 27. 16:39
ERROR in Exceeded maximum budget Budget 10 kB was not met by 4.38 kB with a total of 14.4 kB.

 

Angular.json 파일의 용량제한을 풀어준다.

"budgets": [
  {
    "type": "initial",
    "maximumWarning": "3mb",
    "maximumError": "5mb"
  },
  {
    "type": "anyComponentStyle",
    "maximumWarning": "20kb",
    "maximumError": "40kb"
  }
]