Skip to main content

static

Given a relative path to a static asset, return the absolute path to the asset.

def static(
path: string
) - > string

Given a relative path to a static asset, return the absolute path to the asset.

Parameters

NameTypeDescription
pathstringThe relative path to the static asset within the project structure

Returns

TypeDescription
stringThe absolute file system path to the requested static asset