Rush StackShopBlogEvents
Skip to main content

Home > @rushstack/heft-config-file > NonProjectConfigurationFile > loadConfigurationFile

NonProjectConfigurationFile.loadConfigurationFile() method

This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Load the configuration file at the specified absolute path, automatically resolving extends properties. Will throw an error if the file cannot be found.

Signature:

loadConfigurationFile(terminal: ITerminal, filePath: string): TConfigurationFile;

Parameters

Parameter

Type

Description

terminal

ITerminal

filePath

string

Returns:

TConfigurationFile