Skip to content

@saflib/imports


Function: resolveRelative() ​

resolveRelative(fromFile, specifier): string

POSIX-ish resolve of fromDir/specifier without touching the filesystem.

Parameters ​

ParameterType
fromFilestring
specifierstring

Returns ​

string