resolveFromRoot
Resolves a path against the project root.
Import:
import { resolveFromRoot } from '@mnaoumov/obsidian-dev-toolkit/bundlers/obsidian-plugin-build';Signature:
function resolveFromRoot(path: string): stringParameters:
| Parameter | Type | Description |
|---|---|---|
path |
string | The path, relative to the project root or absolute. |
Returns: string — The absolute path.