
8

哎,前端的包管理有那么一点割裂
source link: https://www.v2ex.com/t/920367
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

- yarn v1
- yarn v2
不同的项目对不同的包管理选择的情况是不同:
- 可能用户常用的是 pnpm ,但是 a 项目对 pnpm 支持不友好,又或者 b 项目用的 pnpm ,但是用户常用的是 yarn
- 又或者老项目用的 yarn v1 ,听说 yarn v2 新特性不错想试试,结果我是十有八九都需要手动调整费事费力,直接放弃
- 新项目当然想用新的包管理,新的特性
- 综上所述,电脑里不把这些七龙珠集齐都不好意思了
- 如果对电脑有点洁癖什么,需要自定义全局缓存位置什么的,各个包管理文档配置什么的又要找遍
- 没有统一的包管理,这么割裂的情况还是比较考验耐心的
</div
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK