rolldown
Version:
Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.
14 lines (13 loc) • 549 B
text/typescript
import { I as VERSION, r as defineConfig, t as ConfigExport } from "./shared/define-config-Bo24xyUK.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 };