计算运行 JS 应用程序或库的实际成本,以保持良好的性能。如果成本超过限制,则在 Pull Request 中显示错误。
使用 **[GitHub 动作]** 大小限制会将捆绑大小变化发布为 Pull Request 讨论中的评论。 - [MobX](https://github.com/mobxjs/mobx) - [Material-UI](https://github.com/callemall/material-ui) - [Ant Design](https://github.com/ant-design/ant-design/) - [Autoprefixer](https://github.com/postcss/autoprefixer) - [PostCSS](https://github.com/postcss/postcss) 缩小了 [25% 的大小](https://github.com/postcss/postcss/commit/150edaa42f6d7ede73d8c72be9909f0a0f87a70f)。 - [Browserslist](https://github.com/browserslist/browserslist) 缩小了 [25% 的大小](https://github.com/browserslist/browse)。
保存并比较之前的大小结果
CLI 不能与工作空间以及没有 hoisting 的 yarn pnp 或 pnpm 兼容
使用 `--why --save-bundle <DIR>` 与多个部分一起使用时会出现问题
代码覆盖率作为捆绑指标
支持 NX 插件
如果 config 中提供的路径下的文件不存在,则会失败。无法选择不执行此操作。
在具有 size-limit-preset-node-lib 的节点包中检查包导入捆绑包的大小时出错
添加 `--save-bundle <dir>` 以帮助和说明文档
尝试连接浏览器时,超时了 30000 毫秒
仅支持 NodeJS ESM 模块项目