# webpack-chunkshash-exclude-plugin

> 根据传入参数确定部分chunk打包时忽略chunkhash，html注入js、css文件地址是否取消chunkhash

Latest version **1.0.0** (published 2019-03-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install webpack-chunkshash-exclude-plugin
pnpm add webpack-chunkshash-exclude-plugin
yarn add webpack-chunkshash-exclude-plugin
bun add webpack-chunkshash-exclude-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 | 2019-03-18 |
| First published | 2019-03-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 5.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | huangzhongzhen |
| Maintainers | huangzhongzhen |
| Keywords | 取消指定chunk的chunkhash，取消html模版中注入的js、css文件的chunkhash |

## Links

- npm: https://www.npmjs.com/package/webpack-chunkshash-exclude-plugin
- npm.io page: https://npm.io/package/webpack-chunkshash-exclude-plugin

## Dependencies (3)

- [lodash](https://npm.io/package/lodash.md) ^4.17.11
- [require-safe](https://npm.io/package/require-safe.md) ^1.1.0
- [html-webpack-plugin](https://npm.io/package/html-webpack-plugin.md) ^3.2.0

## Recent versions

- 1.0.0 (latest) — 2019-03-18

## README

## 使用方法
```
const webpackHashExcludePlugin = require('webpack-hash-exclude-plugin')
new webpackHashExcludePlugin({
  excludeJs: ['styles', 'vendor', 'index'], //chunkname, default: []
  excludeCss: ['styles'], //chunkname, default: []
  cancelHtmlHash: true //取消html模版里面的chunkhash default: true
})
```

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