Skip to content

Budgets on "Estimated transfer size" #22293

Open
@cexbrayat

Description

@cexbrayat

🚀 Feature request

Command (mark with an x)

  • new
  • build
  • serve
  • test
  • e2e
  • generate
  • add
  • update
  • lint
  • extract-i18n
  • run
  • config
  • help
  • version
  • doc

Description

ng build allows to see the "Estimated Transfer Size" as of version v13.1.

It would be very neat to be able to define budgets based not only the "Raw size", but also on this "Estimated Transfer Size"

Describe the solution you'd like

Something along the lines of:

"budgets": [
  {
    "type": "initial-estimated",
    "maximumWarning": "80kb",
    "maximumError": "160kb"
},

or

"budgets": [
  {
    "type": "initial",
    "estimated": true,
    "maximumWarning": "80kb",
    "maximumError": "160kb"
},

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions