ESBuild plugin that generates a manifest.json file mapping original asset names (e.g., index.js) to their hashed output filenames (e.g., index-4QTUNIID.js). Version 1.0.5, stable, supports custom hash formats, short names, extensionless keys, filtering, appending, and custom manifest generators. Designed for cache busting with ESBuild's built-in hashing. Ships TypeScript definitions. Peer dependency on esbuild ~0.
npm install esbuild-plugin-manifestNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows default import, basic usage with esbuild, and common options shortNames and useEntrypointKeys.
Set shortNames: true in plugin options.
Enable hashing in esbuild (e.g., entryNames: '[dir]/[name]-[hash]') or rely on plugin's default.
Set append: true in options.
N/A
Use 'import manifestPlugin from 'esbuild-plugin-manifest'' (default import).
Install both: npm install --save-dev esbuild esbuild-plugin-manifest
Set 'esModuleInterop': true in tsconfig.json.