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

x/fathym_common/src/build/resolvePath.ts>resolvePath

The Fathym Reference Architecture provides the common foundation for applications built in Typescript.
Latest
function resolvePath
import { resolvePath } from "https://deno.land/x/fathym_common@v0.2.166/src/build/resolvePath.ts";

Resolves a path using the provided resolver function.

Examples

From direct import

import { resolvePath } from '@fathym/common/build';

const path = resolvePath('./src/common/.exports.ts', import.meta.resolve);

Parameters

path: string

A function that resolves a path.

resolve: (path: string) => string

A path to resolve.

Returns

string

The resolved path for the given path.