Access to JavaScript and TypeScript support assets bundled with Volt.
Summary
Functions
Read a TypeScript asset, compile to JavaScript, and cache in persistent_term.
Compile a TypeScript support asset after binding OXC $placeholder literals.
Path to the priv/ts directory containing bundled TypeScript assets.
Functions
Read a TypeScript asset, compile to JavaScript, and cache in persistent_term.
Returns compiled JS on subsequent calls without recompilation.
Compile a TypeScript support asset after binding OXC $placeholder literals.
@spec priv_dir() :: String.t()
Path to the priv/ts directory containing bundled TypeScript assets.