@camelot-project/webpack-hash-exclude-plugin

1.1.4 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i @camelot-project/webpack-hash-exclude-plugin

Weekly Downloads

0

Version

1.1.4

License

MIT

Unpacked Size

5.88 kB

Total Files

7

Last publish

Collaborators

  • gawainlynch