Rush Stack商店博客活动
跳至主要内容

rig.json

模板

<项目文件夹>/config/rig.json

// The "rig.json" file directs tools to look for their config files in an external package.
// Documentation for this system: https://npmjs.net.cn/package/@rushstack/rig-package
{
"$schema": "https://developer.microsoft.com/json-schemas/rig-package/rig.schema.json",

/**
* (Required) The name of the rig package to inherit from.
* It should be an NPM package name with the "-rig" suffix.
*/
"rigPackageName": "example-rig",
/**
* (Optional) Selects a config profile from the rig package. The name must consist of
* lowercase alphanumeric words separated by hyphens, for example "sample-profile".
* If omitted, then the "default" profile will be used."
*/
"rigProfile": "web-library"
}

另请参见