# `Volt`
[🔗](https://github.com/elixir-volt/volt/blob/v0.10.1/lib/volt.ex#L1)

Elixir-native frontend build tool.

Provides a dev server with hot module replacement (HMR) and production
builds for JavaScript, TypeScript, Vue SFCs, and CSS — powered by
OXC and Vize Rust NIFs. No Node.js required at runtime.

## Setup

Add Volt to your Phoenix endpoint as a Plug:

    plug Volt.DevServer,
      root: "assets/src",
      target: :es2020

Or use the Mix tasks:

    mix volt.build       # Production build

# `entry_path`

Returns the browser path for the configured Volt entry.

In development this points at the source module served by `Volt.DevServer`.
In production it reads `manifest.json` and returns the built asset path.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
