Files
memecoin-botV2/.pnpm-store/v10/files/3b/517a3fa508e6304e9d9f1fd160d7f0e70d5dce53b62a9c007efd180f26d14f409905bf594d67897489355e7123ae5a748b57158958a31fd2d600977c37c252

26 lines
1.1 KiB
Plaintext

import { R as VERSION, r as defineConfig, t as ConfigExport } from "./shared/define-config-Dsp5YQR4.mjs";
//#region src/utils/load-config.d.ts
type ConfigLoader = "bundle" | "native";
interface LoadConfigOptions {
/**
* How to load the config file.
* - `'bundle'` (default): bundle the config with Rolldown, then import it.
* - `'native'`: import the config directly, delegating TypeScript/loader
* handling to the runtime. Faster, but requires runtime support.
*
* @default 'bundle'
*/
configLoader?: ConfigLoader;
}
/**
* 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.
* @param options Loading options. `configLoader` selects `'bundle'` (default) or `'native'`.
* @returns The loaded config export
*
* @category Config
*/
declare function loadConfig(configPath: string, options?: LoadConfigOptions): Promise<ConfigExport>;
//#endregion
export { VERSION, defineConfig, loadConfig };