# rollup-plugin-entrypoint-hashmanifest

> A rollup plugin that generates a hash manifest for each entrypoint

Latest version **0.1.2** (published 2019-03-15) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install rollup-plugin-entrypoint-hashmanifest
pnpm add rollup-plugin-entrypoint-hashmanifest
yarn add rollup-plugin-entrypoint-hashmanifest
bun add rollup-plugin-entrypoint-hashmanifest
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.2 |
| Published | 2019-03-15 |
| First published | 2018-10-30 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 16.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 15 |
| Author | Surma |
| Maintainers | surma |

## Links

- npm: https://www.npmjs.com/package/rollup-plugin-entrypoint-hashmanifest
- Repository: https://github.com/surma/rollup-plugin-entrypoint-hashmanifest
- Homepage: https://github.com/surma/rollup-plugin-entrypoint-hashmanifest#readme
- Issues: https://github.com/surma/rollup-plugin-entrypoint-hashmanifest/issues
- npm.io page: https://npm.io/package/rollup-plugin-entrypoint-hashmanifest

## Recent versions

- 0.1.2 (latest) — 2019-03-15
- 0.1.1 — 2019-02-28
- 0.1.0 — 2019-02-28
- 0.0.1 — 2018-10-30

## README

# 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] (née [replaceinfiles]).

```
$ npm install --save rollup-plugin-hashmanifest
```

## Usage

```js
// rollup.config.js
import entrypointHashmanifest from "rollup-plugin-entrypoint-";

export default {
  input: ["src/main.js", "src/worker.js", "src/serviceworker.js"],
  output: {
    dir: "dist",
    format: "amd",
    entryFileNames: "[name]-[hash].js",
    chunkFileNames: "[name]-[hash].js"
  },
  plugins: [entrypointHashmanifest()]
};
```

## Options

```js
{
  // ...
  plugins: [entrypointHashmanifest(options)];
}
```

- `manifestName`: Name of the file to write the manifest to. Default `entrypoint.hashmanifest.json`.

[rollup]: https://rollupjs.org/
[hashmark]: https://www.npmjs.com/package/hashmark
[replaceinfiles]: https://www.npmjs.com/package/@songkick/replaceinfiles
[injectassets]: https://www.npmjs.com/package/@songkick/injectassets

---

License Apache-2.0

---
_Source: https://npm.io/package/rollup-plugin-entrypoint-hashmanifest · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
