What is a Build Manifest?
When Vite or Webpack builds your app, it creates a manifest file:src/main.tsx → assets/main.abc123.js.
Configuration
Loading a Manifest
Manifest API
Entry Points
Get the output file for an entry:Assets
Get the URL for an asset:CSS Files
Get CSS files for an entry:Preloads
Get module preloads:Template Integration
View Helpers
In Go Templates
Manual Tag Generation
Script Tag
CSS Tags
Preload Tags
Entry Tags (All in One)
Vite Manifest Format
Vite creates.vite/manifest.json: