原文
| ||||||||||
| ||||||||||
![]() |
原始链接: https://news.ycombinator.com/item?id=43419187
Hacker News 上正在讨论 PackagePhobia,这是一个用于评估添加新的开发依赖项影响的工具。该工具显示一个图表,展示每个版本的体积变化。评论者 mubou 建议将“发布大小”明确为“含依赖项”或“不含依赖项”,以便更好地理解。Mubou 还批评了由于 `min-height: 100vh` 设置而将信息隐藏在屏幕下方(屏幕外)的设计选择。另一位用户 cebert 认可了这个概念,但建议纳入其他成本考量,例如 CVE 的补丁频率、下游依赖项的数量以及重大更改的频率。该讨论帖还包含一条 AI 初创公司学校的推广信息。
| ||||||||||
| ||||||||||
![]() |
"Publish size" is a little misleading though. I thought that meant the size that would be included in my bundle when I publish my app, and was wondering how you were calculating that. Maybe "w/ deps" "w/o deps"?
I'd appreciate you not hiding information below the fold. Really hate that design trend. Remove the `min-height: 100vh` and see how much better it looks (with a bit of padding). At least make it 90vh.
reply