https://github.com/camelotproject/webpack-hash-exclude-plugin
https://github.com/camelotproject/webpack-hash-exclude-plugin
hash webpack-plugin
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/camelotproject/webpack-hash-exclude-plugin
- Owner: CamelotProject
- License: mit
- Created: 2020-02-06T19:24:38.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-02-11T11:08:20.000Z (over 5 years ago)
- Last Synced: 2025-02-13T12:48:37.454Z (4 months ago)
- Topics: hash, webpack-plugin
- Language: JavaScript
- Size: 26.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Webpack Hash Exclude Plugin
A simple Webpack plugin originally written by huangzhongzhen that allows excluding certain file names from having the
hash added.## Using
```
const webpackHashExcludePlugin = require('webpack-hash-exclude-plugin')
new webpackHashExcludePlugin({
excludeJs: ['styles', 'vendor', 'index'], //chunkname, default: []
excludeCss: ['styles'], //chunkname, default: []
cancelHtmlHash: true // Cancel chunkhash in html template default: true
})
```