angular / angular/angular-cli

Reduce output for LLMs

Ouverte
#32,596 1 commentaire 10 réactions 0 personnes assignées Voir sur GitHub
area: @angular/build feature feature: votes required needs: investigation
Langage dominant
TypeScript
Étoiles
27k
Forks
11.8k
Merge moyen
14 h 23 min
PR mergées (30 j)
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.

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
angular, typescript
Domaine
build-system, cli
Type d'issue
Fonctionnalité
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.