跳至主要內容

yarn config unset

取消設定組態設定。

用法

$ yarn config unset <name>

範例

取消設定簡單的組態設定

yarn config unset initScope

取消設定複雜的組態設定

yarn config unset packageExtensions

取消設定巢狀的組態設定

yarn config unset npmScopes.company.npmRegistryServer

詳細資料

此指令會取消設定組態設定。

選項

定義說明

-H,--home

更新主目錄組態,而不是專案組態