14 lines
549 B
TypeScript
14 lines
549 B
TypeScript
import { F as VERSION, r as defineConfig, t as ConfigExport } from "./shared/define-config-CV9D_Qea.mjs";
|
|
|
|
//#region src/utils/load-config.d.ts
|
|
/**
|
|
* Load config from a file in a way that Rolldown does.
|
|
*
|
|
* @param configPath The path to the config file. If empty, it will look for `rolldown.config` with supported extensions in the current working directory.
|
|
* @returns The loaded config export
|
|
*
|
|
* @category Config
|
|
*/
|
|
declare function loadConfig(configPath: string): Promise<ConfigExport>;
|
|
//#endregion
|
|
export { VERSION, defineConfig, loadConfig }; |