A Rollup plugin that generates a hash manifest JSON file for each entrypoint, mapping original entry filenames to their hashed output filenames. Version 0.1.2, last updated in 2018, with no recent releases. It produces a manifest compatible with hashmark and injectassets tools. Alternatives include @rollup/plugin-manifest or custom Rollup hook scripts, but this plugin is simpler for entrypoint-only hashing.
npm install rollup-plugin-entrypoint-hashmanifestVerified import paths — ran on the pinned version, not inferred.
Configures Rollup to emit a hash manifest file mapping entrypoints to their hashed outputs.
Specify a relative path like 'manifest.json' instead of '/absolute/path/manifest.json'.
If you need all output files in the manifest, consider using @rollup/plugin-manifest or a custom hook.
Test with your Rollup version. For Rollup >=3, use a different plugin like @rollup/plugin-manifest.
Run npm install rollup-plugin-entrypoint-hashmanifest and ensure import path is correct.
Use import entrypointHashmanifest from 'rollup-plugin-entrypoint-hashmanifest' (no curly braces).
Add () after plugin name: entrypointHashmanifest()