ai / ai/size-limit

Recommended way to limit total size of an ESM library

未關閉
#265 4 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
JavaScript
星號
6.9k
分支
1.8k
平均合併
44 分鐘
30 天內合併 PR
1

描述

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?

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。