webpack-chunkshash-exclude-plugin
v1.0.0
Published
根据传入参数确定部分chunk打包时忽略chunkhash,html注入js、css文件地址是否取消chunkhash
Downloads
6
Maintainers
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
})