'What should be Angular Bundle Size?
We are using pretty standard Angular & Angular Material packages + two more additional packages, as listed below:
Should our bundle size still be under 512 KB?
Does Angular team recommends 1MB is max limit, or is it a placeholder value for vanilla angular cli app?
angular.json
"configurations": {
"production": {
"budgets": [
{
"type": "initial",
"maximumWarning": "500kb",
**"maximumError": "1mb"**
},
package.json
"@angular/animations"
"@angular/cdk"
"@angular/common"
"@angular/compiler"
"@angular/core"
"@angular/forms"
"@angular/localize"
"@angular/material"
"@angular/material-moment-adapter"
"@angular/platform-browser"
"@angular/platform-browser-dynamic"
"@angular/router"
"@ng-bootstrap/ng-bootstrap"
"bootstrap"
"mat-table-filter"
"moment"
"ngx-cookie-service"
"ngx-mat-select-search"
"rxjs"
"save-dev"
"tslib"
"tslint-angular"
"zone.js"
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
