Skip to content

Reduce output for LLMs #32596

Description

@undsoft

Command

build

Description

Every time Angular builds, it prints chunk stats:

Initial chunk files   | Names         |  Raw size | Estimated transfer size
chunk-R3S5GO54.js     | -             | 269.50 kB |                68.58 kB
chunk-NI535PZY.js     | -             | 183.41 kB |                55.12 kB
...

If you are using an LLM, this unnecessarily reduces available context and eats up tokens.

I couldn't find a flag to disable this output.

Describe the solution you'd like

Inspired by this post, we could support an LLM env variable that would drastically reduce the output.

Alternatively a flag to remove stats would be nice.

Describe alternatives you've considered

--no-progress, but it doesn't help.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: @angular/buildfeatureLabel used to distinguish feature request from other issuesfeature: votes requiredFeature request which is currently still in the voting phaseneeds: investigationRequires some digging to determine if action is needed

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions