Astral.Assets (Astral v0.1.0)

Copy Markdown View Source

Resolves browser paths for Volt-managed Astral assets.

Summary

Functions

Return the browser path for a source asset in an Astral site.

Functions

path(config, source)

@spec path(Astral.Site.t() | Astral.Config.t(), String.t()) :: String.t()

Return the browser path for a source asset in an Astral site.