angular / angular/angular-cli

Reduce output for LLMs

Open
#32,596 1 comment 10 reactions 0 assignees View on GitHub
area: @angular/build feature feature: votes required needs: investigation
Dominant language
TypeScript
Stars
27k
Forks
11.8k
Avg merge
14h 23m
Merged PRs (30d)
162

Description

### 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](https://blog.codemine.be/posts/2026/20260222-be-quiet/), 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.

Contributor guide

Open the contributing guide

Research direction

Start with the build command and the chunk-statistics output described in the issue; verify whether --no-progress affects it. Decide whether an LLM environment variable or a flag is the intended interface, then confirm that the build output omits chunk statistics while preserving the build results.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, typescript
Domain
build-system, cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.