UNPKG

@roots/bud-build

Version:

bud.js core module

22 lines (21 loc) 551 B
import type { Bud } from '@roots/bud-framework'; import Registrable from '@roots/bud-build/helpers/registrable'; /** * Bud Loader */ declare class Loader extends Registrable { _app: () => Bud; /** * Factory returning the loader path */ src: string; /** * Class constructor * * @param src - Either a factory returning a string or a literal string */ constructor(_app: () => Bud, src?: string, definition?: string); getSrc(): string; setSrc(src: string): this; } export { Loader as default };