Skip to main content

yarn config unset

取消设置配置设置。

用法​

$ yarn config unset <name>

示例​

取消设置简单配置设置 :

yarn config unset initScope

取消设置复杂配置设置 :

yarn config unset packageExtensions

取消设置嵌套配置设置 :

yarn config unset npmScopes.company.npmRegistryServer

详情​

此命令将取消设置配置设置。

选项​

定义描述

-H,--home

更新主配置而不是项目配置