Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 480 Bytes

README.md

File metadata and controls

15 lines (12 loc) · 480 Bytes

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
})