Skip to main content
Module

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

The Fathym Reference Architecture provides the common foundation for applications built in Typescript.
Go to Latest
function resolvePath
import { resolvePath } from "https://deno.land/x/fathym_common@v0.2.147-integration/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.