angular / angular/angular-cli

Reduce output for LLMs

Đang mở
#32,596 1 bình luận 10 reaction 0 người được giao Xem trên GitHub
area: @angular/build feature feature: votes required needs: investigation
Ngôn ngữ chính
TypeScript
Star
27k
Fork
11.8k
Merge trung bình
14 giờ 23 phút
Pull request đã merge (30 ngày)
162

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
angular, typescript
Lĩnh vực
build-system, cli
Loại issue
Tính năng
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.