API Reference bun_bundle v#0.1.1

Copy Markdown View Source

Modules

BunBundle installs and runs Bun as an asset bundler for Elixir web apps.

HEEx components for Phoenix that render fingerprinted asset tags.

Reads config/bun.json at the project root.

Framework-agnostic helpers for rendering asset URLs and tags.

Reads bun-manifest.json and resolves source paths to fingerprinted URLs.

A single manifest entry with fingerprinted URL and SRI hashes.

Raised when a lookup targets a path that is not in bun-manifest.json.

Sets no-cache headers on asset requests in development.

Renders the live reload client script for development.

Mix Tasks

Invokes the vendored Bun bundler with the given arguments.

Installs the Bun binary under _build/.

Runs the JavaScript test suite via bun test.