@visulima/packem
Version:
A fast and modern bundler for Node.js and TypeScript.
9 lines (8 loc) • 398 B
TypeScript
import type { NapiResolveOptions } from "oxc-resolver";
export declare const resolve: (ids: string[], userOptions: ResolveOptions) => string;
export interface ResolveOptions extends NapiResolveOptions {
/** directories to begin resolving from (defaults to `[__dirname]`) */
baseDirs?: string[];
/** name of the caller for error message (default to `Resolver`) */
caller?: string;
}