This article is a mirror article of machine translation, please click here to jump to the original article.

View: 14359|Reply: 0

[Angular] Budget 10 kB was not met by 20 kB with a total of 30 kB

[Copy link]
Posted on 6/10/2020 3:33:15 PM | | |
ERROR in Exceeded maximum budget for C:/itsvse_angularMain/src/app/components/xx.component.css. Budget 10 kB was not met by 20 kB with a total of 30 kB.
ERROR in Exceeded maximum budget for C:/itsvse_angularMain/src/app/components/aaa.component.css. Budget 10 kB was not met by 21.7 kB with a total of 31.7 kB.
ERROR in Exceeded maximum budget for C:/itsvse_angularMain/src/app/components/ccc.component.css. Budget 10 kB was not met by 22.5 kB with a total of 32.5 kB.
ERROR in Exceeded maximum budget for C:/itsvse_angularMain/src/app/components/ww.component.css. Budget 10 kB was not met by 22.5 kB with a total of 32.5 kB.
solution

Modify the angular.json file

Find the budgets node and modify "maximumError": "10kb" as follows:








Previous:Angular 9 series (VI) calls native JS variables and methods
Next:How to see what programs a folder is used by
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com