# Volt v0.8.3 - Table of Contents

Elixir-native frontend build tool — dev server, HMR, and production builds powered by OXC and Vize.

## Pages

- [Volt ⚡](readme.md)

## Modules

- [Volt](Volt.md): Elixir-native frontend build tool.
- [Volt.Assets](Volt.Assets.md): Static asset handling — images, fonts, SVGs, and other non-code files.
- [Volt.Builder](Volt.Builder.md): Production build — resolve dependencies, split chunks, bundle, and write assets.
- [Volt.Builder.BundleResult](Volt.Builder.BundleResult.md): Extract code and sourcemap from OXC bundle results.
- [Volt.Builder.Collector](Volt.Builder.Collector.md): Walks the dependency graph from entry files, collecting modules and workers.
- [Volt.Builder.Externals](Volt.Builder.Externals.md): Rewrite external imports into global variable access for production builds.
- [Volt.Builder.Resolver](Volt.Builder.Resolver.md): Resolve import specifiers to absolute file paths for the build graph.
- [Volt.CSS.Modules](Volt.CSS.Modules.md): CSS Modules support for `.module.css` files.
- [Volt.Cache](Volt.Cache.md): ETS-backed module cache keyed by `{path, mtime}`.
- [Volt.ChunkGraph](Volt.ChunkGraph.md): Build a chunk graph from module dependencies.
- [Volt.Config](Volt.Config.md): Read Volt configuration from application environment.
- [Volt.DepGraph](Volt.DepGraph.md): ETS-backed module dependency graph.
- [Volt.DevServer](Volt.DevServer.md): Plug that serves compiled frontend assets in development.
- [Volt.Env](Volt.Env.md): Load environment variables for client-side code.
- [Volt.Formatter](Volt.Formatter.md): A `mix format` plugin that formats JavaScript and TypeScript files with oxfmt.
- [Volt.HMR.Boundary](Volt.HMR.Boundary.md): Detect HMR boundaries by scanning for `import.meta.hot.accept()` calls.
- [Volt.HMR.Client](Volt.HMR.Client.md): Serves the HMR client JavaScript, compiled from TypeScript.

- [Volt.HMR.Socket](Volt.HMR.Socket.md): WebSocket handler for HMR updates.
- [Volt.HTMLEntry](Volt.HTMLEntry.md): Extract entry points from HTML files.
- [Volt.JS.GlobImport](Volt.JS.GlobImport.md): Transform `import.meta.glob()` calls into static import maps.
- [Volt.JS.ImportRewriter](Volt.JS.ImportRewriter.md): Rewrite import specifiers in compiled JS output using AST positions.
- [Volt.JS.Resolver](Volt.JS.Resolver.md): Import specifier resolution with alias support.
- [Volt.JS.TSConfig](Volt.JS.TSConfig.md): Read `compilerOptions.paths` from `tsconfig.json` and convert to Volt aliases.
- [Volt.JS.Vendor](Volt.JS.Vendor.md): Pre-bundle vendor (node_modules) dependencies for dev mode.
- [Volt.Pipeline](Volt.Pipeline.md): Compile source files to browser-ready JavaScript and CSS.
- [Volt.Plugin](Volt.Plugin.md): Behaviour for Volt build plugins.
- [Volt.PluginRunner](Volt.PluginRunner.md): Execute plugin hooks in order, short-circuiting on first match.

- [Volt.Preload](Volt.Preload.md): Generate `<link rel="modulepreload">` tags for production chunks.
- [Volt.Tailwind](Volt.Tailwind.md): Tailwind CSS integration — scan source files for candidates and compile CSS.
- [Volt.Tailwind.Loader](Volt.Tailwind.Loader.md): Handles Tailwind module loading, prebundling CJS graphs via OXC, and stylesheet resolution.
- [Volt.Tailwind.Resolver](Volt.Tailwind.Resolver.md): Resolves stylesheet and module paths for the Tailwind runtime.
- [Volt.Watcher](Volt.Watcher.md): File watcher that triggers recompilation, Tailwind rebuilds, and HMR updates.

## Mix Tasks

- [mix volt.build](Mix.Tasks.Volt.Build.md): Build production frontend assets.
- [mix volt.dev](Mix.Tasks.Volt.Dev.md): Start the Volt file watcher for development.
- [mix volt.install](Mix.Tasks.Volt.Install.md): Install and configure Volt in a Phoenix project
- [mix volt.js.check](Mix.Tasks.Volt.Js.Check.md): Check formatting and lint Volt's JavaScript and TypeScript assets via NIF.
- [mix volt.js.format](Mix.Tasks.Volt.Js.Format.md): Format Volt's JavaScript and TypeScript assets with oxfmt via NIF.
- [mix volt.lint](Mix.Tasks.Volt.Lint.md): Lint project JavaScript and TypeScript assets using oxlint via NIF.

