Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface shared.Loader
import { type shared } from "https://deno.land/x/frugal@0.9.6/dep/esbuild_deno_loader.ts";
const { Loader } = shared;

Methods

resolve(specifier: URL): Promise<LoaderResolution>
loadEsm(specifier: URL): Promise<esbuild.OnLoadResult>
optional
packageIdFromNameInPackage(name: string, parentPackageId: string): string
optional
nodeModulesDirForPackage(npmPackageId?: string): Promise<string>