esbuild-plugin-autoload
Version:
Bun/esbuild plugin for work with autoload at runtime
14 lines (13 loc) • 441 B
TypeScript
import type { BunPlugin } from "bun";
export declare const IS_BUN: boolean;
export declare function globSync(globPattern: string, globOptions: {
cwd?: string;
}): string[];
export interface AutoloadOptions {
pattern?: string;
directory?: string;
debug?: boolean;
}
export declare function autoload(options?: AutoloadOptions): BunPlugin;
export declare function autoload(options?: string): BunPlugin;
export default autoload;