{"library":"rollup-plugin-bundle-hash","title":"rollup-plugin-bundle-hash","description":"A Rollup plugin that writes output content hashes to a JSON file. Version 1.0.0 is the current stable release with no ongoing update cadence. It differentiates by using hasha for hashing and supporting custom output file paths, but lacks active maintenance or documentation.","language":"javascript","status":"active","last_verified":"Mon Apr 27","install":{"commands":["npm install rollup-plugin-bundle-hash"],"cli":null},"imports":["import bundleHash from 'rollup-plugin-bundle-hash'","import { bundleHash } from 'rollup-plugin-bundle-hash'","import type { Plugin } from 'rollup'; import bundleHash from 'rollup-plugin-bundle-hash'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import bundleHash from 'rollup-plugin-bundle-hash';\nimport { rollup } from 'rollup';\n\nrollup({\n  input: 'src/main.js',\n  plugins: [\n    bundleHash({\n      file: 'dist/hashes.json',\n      hashLength: 20\n    })\n  ],\n  output: {\n    dir: 'dist',\n    format: 'es'\n  }\n});","lang":"typescript","description":"Shows basic setup of rollup-plugin-bundle-hash with rollup, outputting hashes to dist/hashes.json.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}