# bun_bundle v0.1.1 - Table of Contents

> Bun-powered asset bundler for Elixir with fingerprinting, SRI, CSS hot-reload, and live reload. Works with any Elixir app.

## Modules

- [BunBundle](BunBundle.md): BunBundle installs and runs [Bun](https://bun.sh) as an asset bundler for
Elixir web apps.
- [BunBundle.Component](BunBundle.Component.md): HEEx components for Phoenix that render fingerprinted asset tags.
- [BunBundle.Config](BunBundle.Config.md): Reads `config/bun.json` at the project root.
- [BunBundle.Helpers](BunBundle.Helpers.md): Framework-agnostic helpers for rendering asset URLs and tags.
- [BunBundle.Manifest](BunBundle.Manifest.md): Reads `bun-manifest.json` and resolves source paths to fingerprinted URLs.
- [BunBundle.Manifest.Entry](BunBundle.Manifest.Entry.md): A single manifest entry with fingerprinted URL and SRI hashes.
- [BunBundle.Plug.DevCache](BunBundle.Plug.DevCache.md): Sets no-cache headers on asset requests in development.
- [BunBundle.ReloadTag](BunBundle.ReloadTag.md): Renders the live reload client script for development.

- Exceptions
  - [BunBundle.MissingAssetError](BunBundle.MissingAssetError.md): Raised when a lookup targets a path that is not in `bun-manifest.json`.

## Mix Tasks

- [mix bun](Mix.Tasks.Bun.md): Invokes the vendored Bun bundler with the given arguments.
- [mix bun.install](Mix.Tasks.Bun.Install.md): Installs the Bun binary under `_build/`.
- [mix bun.test](Mix.Tasks.Bun.Test.md): Runs the JavaScript test suite via `bun test`.

