@roots/bud
Version:
Configurable, extensible build tools for modern single and multi-page web applications
19 lines (18 loc) • 394 B
TypeScript
import type { Bud } from '@roots/bud';
import { type Options } from '@roots/bud/context';
/**
* Create a {@link Bud} instance programatically
*
* @example
* ```ts
* const bud = await factory()
* ```
*
* @example
* Running in a particular mode:
*
* ```ts
* const bud = await factory({mode: 'development'})
* ```
*/
export declare function factory(options?: Options): Promise<Bud>;