Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Compare module sizes between build sessions

Đang mở
#601 0 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@webfansplz đang làm issue này rồi.

Từ ngày 3/10/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

enhancement

In the Rolldown panel of Vite DevTools.

Session Compare currently shows size changes for each chunk (output file) between two builds, but it does not directly compare individual source modules.

For example, when index.js grows by 1 KB, users need to find which modules inside it grew. This requires opening the module lists for both builds, searching for the corresponding files, and manually comparing their sizes.

I propose adding module size comparisons to Session Compare, with:

  • The module path, such as src/feature.ts.
  • The module size in each build.
  • The size increase or decrease.
  • Links to the module details in each build.

These are my initial thoughts, and I am happy to work on the implementation. Would love to hear your suggestions!

Ngôn ngữ chính
TypeScript
Star
1.2k
Fork
92
Merge trung bình
1 ngày 23 giờ
Pull request đã merge (30 ngày)
18

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của vitejs/devtools

Tất cả issue của vitejs/devtools

Issue tương tự

Thêm issue về TypeScript

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.