| Crates.io | rolldown_plugin_manifest |
| lib.rs | rolldown_plugin_manifest |
| version | 0.1.0 |
| created_at | 2025-10-18 03:48:16.890776+00 |
| updated_at | 2025-10-18 03:48:16.890776+00 |
| description | Rolldown plugin for build manifest generation |
| homepage | https://rolldown.rs/ |
| repository | https://github.com/rolldown/rolldown |
| max_upload_size | |
| id | 1888775 |
| size | 88,928 |
A plugin for rolldown-vite that generates a manifest.json mapping original filenames to emitted assets/chunks, ported from Vite's manifestPlugin.
This plugin is exclusive to rolldown-vite and is not recommended for external use.
This plugin collects all emitted chunks and assets, associates them with their original names, and outputs a manifest JSON. Useful for server-side rendering or asset injection.
import { defineConfig } from 'rolldown';
import { manifestPlugin } from 'rolldown/experimental';
export default defineConfig({
input: {
entry: './main.ts',
},
plugins: [manifestPlugin({
root: path.resolve(import.meta.dirname),
outPath: path.resolve(import.meta.dirname, 'dist/manifest.json'),
})],
});
| Option | Type | Description |
|---|---|---|
root |
string |
Project root directory |
outPath |
string |
Where to write the manifest output file |