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
Re-export
import { ModuleGraph } from "https://deno.land/x/mesozoic@v1.0.0-alpha.18/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