angular / angular/angular-cli

Reduce output for LLMs

Offen
#32,596 1 Kommentar 10 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
area: @angular/build feature feature: votes required needs: investigation
Vorherrschende Sprache
TypeScript
Sterne
27k
Forks
11.8k
Ø Merge
14 Std. 23 Min.
Gemergte PRs (30 T.)
162

Beschreibung

### 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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
angular, typescript
Bereich
build-system, cli
Issue-Typ
Feature
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.