预算警告,初始预算超出上限
当使用--prod构建我的angular 7项目时,我在预算中发出警告。 我有一个Angular 7项目,我想构建它,但是我有一个警告: WARNING in budgets, maximum exceeded for initial. Budget 2 MB was exceeded by 1.77 MB 这些是块详细信息: chunk {scripts} scripts.2cc9101aa9ed72da1ec4.js (scripts) 154 kB [rendered] chunk {0} runtime.ec2944dd8b20ec099bf3.js (runtime) 1.41 kB [entry] [rendered] chunk {1} main.13d1eb792af7c2f359ed.js (main) 3.34 MB [initial] [rendered] chunk {2} polyfills.11b1e0c77d01e41acbba.js (polyfills) 58.2 kB [initial] …