Home > @microsoft/rush-lib > CommonVersionsConfiguration > loadFromFile
CommonVersionsConfiguration.loadFromFile() method
Loads the common-versions.json data from the specified file path. If the file has not been created yet, then an empty object is returned.
Signature:
static loadFromFile(jsonFilename: string): CommonVersionsConfiguration;
Parameters
Parameter | Type | Description |
---|---|---|
jsonFilename | string |
Returns: