Loads the configuration and stores it process-wide, replacing whatever
an earlier call stored. Synchronous: every resolver, tag and import
scheme passed through must return its value directly.
The file is config/config.casc under the project root (the directory
of the nearest package.json above process.cwd(), else
process.cwd()), or options.path. A missing default file loads an
empty configuration; a missing options.path is an error.
Nothing is stored when the load fails: whatever was there before
stays. A program with half its configuration is worse off than one told
why it has none.
Loads the configuration and stores it process-wide, replacing whatever an earlier call stored. Synchronous: every resolver, tag and import scheme passed through must return its value directly.
The file is
config/config.cascunder the project root (the directory of the nearestpackage.jsonaboveprocess.cwd(), elseprocess.cwd()), oroptions.path. A missing default file loads an empty configuration; a missingoptions.pathis an error.Nothing is stored when the load fails: whatever was there before stays. A program with half its configuration is worse off than one told why it has none.