// .yarnrc
registry "https://registry.npmmirror.com"
@specialModel:registry "http://10.10.10.10/repository/npmgroup"
// .npmrc
registry = https://registry.npmmirror.com
@specialModel:registry = "http://10.10.10.10/repository/npmgroup"
自定义的npm包,specialModel必须以@bdlite/${npm name} 命名
最后
以上就是落寞水蜜桃最近收集整理的关于项目配置私有源 .yarnrc .npmrc的全部内容,更多相关项目配置私有源内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复