
获得徽章 26
- 为什么您的网站大小应小于 14KB22
- 关于 monorepo 最好的文档了,非常全面,有分享的任务就可以直接把内容扒下来整理下
monorepo 两大缺点其中之一,包冲突,比如依赖 Vue 但有 2 和 3 之分,github.com 是个好解决的办法,我也是第一次知道
展开评论1 - Linux 如何查看文件(夹)的大小:
du -sh file_path
Explanation
du (disc usage) command estimates file_path space usage
The options -sh are (from man du):
-s, --summarize
display only a total for each argument
-h, --human-readable
print sizes in human readable format (e.g., 1K 234M 2G)
To check more than one directory and see the total, use du -sch:
-c, --total
produce a grand total
---
➜ du -sch -- *
200K CHANGELOG.md
4.0K Dockerfile
4.0K README.md
4.0K build.md
4.0K craco.config.js
4.0K nginx.conf
1.6G node_modules
1.4M package-lock.json
4.0K package.json
4.0K postcss.config.js
268K public
4.0K script
10M src
4.0K tailwind.config.js
4.0K tsconfig.json
1.6G total展开22