Module entities/Config/logic/createConfiguration
Functions
createConfiguration
- createConfiguration(baseConfig: Config, userConfigPath: string, cliArgs: string[]): Promise<Config>
Parameters
userConfigPath: string
cliArgs: string[]
Returns Promise<Config>
Create Figmagic configuration object.
Prioritization:
figmagic.json
or.figmagicrc
.env
Non-provided values should fall back to defaults outlined inbin/entities/Config/baseConfig.ts