Velohost Velohost

Astro Integration

Astro Build Manifest

Expose exactly what Astro generated — pages and assets — using a static, deterministic build manifest.

Usage snapshot

111
Downloads in the last 30 days
Latest npm version · v1.0.0
Source: npm registry

Why this plugin exists

After a build, teams often need to know which routes were generated and which files Astro actually emitted.

Today, those answers usually require inspecting build logs, browsing output directories, or guessing from production behaviour.

Astro Build Manifest exposes this information safely and deterministically via a static JSON file.

What it delivers

Design principles

  • Static-first design
  • Deterministic output
  • Public-safe metadata only
  • No runtime execution
  • No environment or filesystem leakage

What this plugin does

  • Generates a static /build-manifest.json file
  • Lists all generated pages
  • Lists emitted HTML, CSS, and JS assets
  • Normalised route formatting
  • Deterministic, cache-safe output
  • Zero runtime JavaScript

Installation

npm install astro-build-manifest

The plugin runs during astro build and writes build-manifest.json to the output directory.

Project links

Source code, releases, documentation, and contribution guidelines.

Want the deep dive?

Read the FAQs for implementation details, design rationale, and integration guidance.

View plugin FAQs