Skip to content

Function: loadConfig()

  • Exported from: rolldown/config
  • Type: (configPath: string) => Promise<ConfigExport>

Load config from a file in a way that Rolldown does.

Parameters

configPath

string

The path to the config file. If empty, it will look for rolldown.config with supported extensions in the current working directory.

Returns

Promise<ConfigExport>

The loaded config export