# clear-old-hashes-plugin

> A webpack plugin that will clear output folder of old hashed bundles. Intended for a development environment

Latest version **1.0.0** (published 2017-01-17) · ISC license · 0 weekly downloads

## Install

```sh
npm install clear-old-hashes-plugin
pnpm add clear-old-hashes-plugin
yarn add clear-old-hashes-plugin
bun add clear-old-hashes-plugin
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2017-01-17 |
| First published | 2017-01-17 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Darien Lombardi |
| Maintainers | dlombardi |
| Keywords | webpack, plugin, node, clear, output |

## Links

- npm: https://www.npmjs.com/package/clear-old-hashes-plugin
- Repository: https://github.com/dlombardi/clear-old-hashes-plugin
- Homepage: https://github.com/dlombardi/clear-old-hashes-plugin#readme
- Issues: https://github.com/dlombardi/clear-old-hashes-plugin
- npm.io page: https://npm.io/package/clear-old-hashes-plugin

## Dependencies (1)

- [del](https://npm.io/package/del.md) ^2.2.2

## Alternatives

- [@expo/fingerprint](https://npm.io/package/@expo/fingerprint.md) — 6.2M weekly downloads
- [@azure/monitor-opentelemetry-exporter](https://npm.io/package/@azure/monitor-opentelemetry-exporter.md) — 850.0K weekly downloads
- [@azure/monitor-opentelemetry](https://npm.io/package/@azure/monitor-opentelemetry.md) — 624.0K weekly downloads
- [@posthog/ai](https://npm.io/package/@posthog/ai.md) — 423.3K weekly downloads
- [fakefilter](https://npm.io/package/fakefilter.md) — 63.9K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2017-01-17

## README

# clear-old-hashes-plugin


Documentation
-------------

**Installation**
```
npm install clear-old-hashes-plugin --save-dev
```


**Example Webpack Config**
```
var ClearOldHashesPlugin = require('clear-old-hashes-plugin');

module.exports = {
  entry: {
    bundle: './entry.js',
    vendor: './vendor.js'
  },
  output: {
    path: path.join(process.cwd(), './dist'),
    filename: '[id].bundle.[chunkhash].js'
  },
  plugins: [
    new ClearOldHashesPlugin({delimiter: '.'})
  ]
}

```

**Usage**

```
new ClearOldHashesPlugin({options})
```

**Options Config**
```
{
  "delimiter": symbol to separate filename sections ('.' || '-' || anything else...), // [name]-[hash].js or [name].[hash].js etc...
}
```

**License**
[MIT License](http://www.opensource.org/licenses/mit-license.php)

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