# webpack-md5-hash

> Plugin to replace a standard webpack chunkhash with md5.

Latest version **0.0.6** (published 2017-11-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install webpack-md5-hash
pnpm add webpack-md5-hash
yarn add webpack-md5-hash
bun add webpack-md5-hash
```

## 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.0.6 |
| Published | 2017-11-30 |
| First published | 2015-08-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 207 |
| Author | Kirill Ermolov |
| Maintainers | erm0l0v |
| Keywords | webpack, hash, plugin, md5 |

## Links

- npm: https://www.npmjs.com/package/webpack-md5-hash
- Repository: https://github.com/erm0l0v/webpack-md5-hash
- Issues: https://github.com/erm0l0v/webpack-md5-hash/issues
- npm.io page: https://npm.io/package/webpack-md5-hash

## Dependencies (1)

- [md5](https://npm.io/package/md5.md) ^2.0.0

## Alternatives

- [@mdxeditor/editor](https://npm.io/package/@mdxeditor/editor.md) — 962.4K weekly downloads
- [mmdb-lib](https://npm.io/package/mmdb-lib.md) — 680.9K weekly downloads
- [playcanvas](https://npm.io/package/playcanvas.md) — 36.2K weekly downloads
- [@glw907/cairn-cms](https://npm.io/package/@glw907/cairn-cms.md) — 967 weekly downloads
- [markdown-to-confluence](https://npm.io/package/markdown-to-confluence.md) — 103 weekly downloads

## Recent versions

- 0.0.6 (latest) — 2017-11-30
- 0.0.5 — 2016-02-12
- 0.0.4 — 2015-08-24
- 0.0.3 — 2015-08-24
- 0.0.1 — 2015-08-19

## README

# webpack-md5-hash

[![NPM](https://nodei.co/npm/webpack-md5-hash.png)](https://npmjs.org/package/webpack-md5-hash)

Plugin to replace a standard webpack chunkhash with md5.

## Installation

```
npm install webpack-md5-hash --save-dev
```

## Usage

Just add this plugin as usual.

``` javascript

// webpack.config.js

var WebpackMd5Hash = require('webpack-md5-hash');

module.exports = {
    // ...
    output: {
        //...
        chunkFilename: "[chunkhash].[id].chunk.js"
    },
    plugins: [
        new WebpackMd5Hash()
    ]
};

```

## Development

### Setup Docker

* Install [Docker Toolbox](https://www.docker.com/docker-toolbox)
* Setup [Docker Machine](https://docs.docker.com/machine/get-started/)

### Generate Docker files

* Change versions on node and webpack in *versions.json*
* Run `./build.js gen_docker` to generate files

### Run tests

* Build Docker images `docker-compose build`
* Run tests `docker-compose up` or `docker-compose up | grep exited`

### Run tests for specific environment

> Example: you need test code on node v0.12 and webpack v1.8

* Build image `docker-compose build test_n_0.12_w_1.8`
* Run tests `docker-compose run --rm test_n_0.12_w_1.8`

And now instead of standard value of chunkhash you'll get a md5 based on chunk's modules.

---
_Source: https://npm.io/package/webpack-md5-hash · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
