ai / ai/size-limit

Recommended way to limit total size of an ESM library

Đang mở
#265 4 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
6.9k
Fork
1.8k
Merge trung bình
44 phút
Pull request đã merge (30 ngày)
1

Mô tả

Hello! In my library I have a root ESM index file exporting everything, so I would like to use that to limit the total size of my library. Simply specifying the file with `path` doesn't appear to be enough, as the size ends up being zero or next to zero, so is there a way to import all exports somehow, for example `import: "*"`? What is generally the recommended way to limit total size in an ESM library?

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

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

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

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.