Home > @rushstack/rig-package > RigConfig > loadForProjectFolder
RigConfig.loadForProjectFolder() method
Use this method to load the config/rig.json
file for a given project.
Signature:
static loadForProjectFolder(options: ILoadForProjectFolderOptions): RigConfig;
Parameters
Parameter | Type | Description |
---|---|---|
options | ILoadForProjectFolderOptions |
Returns:
Remarks
If the file cannot be found, an empty RigConfig
object will be returned with RigConfig.rigFound equal to false
.