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
| Name | Type | Description |
|---|---|---|
| path | string | The relative path to the static asset within the project structure |
Returns
| Type | Description |
|---|---|
string | The absolute file system path to the requested static asset |