rollup-plugin-entrypoint-hashmanifest
A rollup plugin that generates a hash manifest for each entrypoint file you give. The manifest is compatible with the one emitted by hashmark and can be processed by tools like injectassets.
$ npm install --save rollup-plugin-hashmanifest
Usage
// rollup.config.js; input: "src/main.js" "src/worker.js" "src/serviceworker.js" output: dir: "dist" format: "amd" entryFileNames: "[name]-[hash].js" chunkFileNames: "[name]-[hash].js" plugins: ;
Options
// ... plugins: ;
manifestName
: Name of the file to write the manifest to. Defaultentrypoint.hashmanifest.json
.
License Apache-2.0