@oazmi/build-tools
Version:
general deno build tool scripts which I practically use in all of my typescript repos
16 lines • 727 B
TypeScript
import type * as esbuild from "./esbuild_types.js";
import * as deno from "./deno.js";
import { type Loader, type LoaderResolution } from "./shared.js";
export declare const DENO_CACHE_METADATA: Uint8Array;
export interface NativeLoaderOptions {
infoOptions?: deno.InfoOptions;
}
export declare class NativeLoader implements Loader {
#private;
constructor(options: NativeLoaderOptions);
resolve(specifier: URL): Promise<LoaderResolution>;
loadEsm(specifier: URL): Promise<esbuild.OnLoadResult | undefined>;
nodeModulesDirForPackage(npmPackageId: string): Promise<string>;
packageIdFromNameInPackage(name: string, parentPackageId: string): string | null;
}
//# sourceMappingURL=loader_native.d.ts.map