Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/mesozoic/lib/types.ts>ModuleGraph#resolveDependency

A generic build system for Deno web apps
Go to Latest
method ModuleGraph.prototype.resolveDependency
import { ModuleGraph } from "https://deno.land/x/mesozoic@v1.3.4/lib/types.ts";

Given a string specifier of a module's dependency and the referring module's string URL, return the string URL of the dependency, otherwise return undefined.

Parameters

specifier: string
referrer: string

Returns

string | undefined