1.0.6 • Published 3 years ago
webpack-content-md5-hash v1.0.6
webpack-content-md5-hash
Plugin to generate a hash based on output file's content with md5.
Installation
npm install webpack-content-md5-hash --save-dev
Usage
Just add this plugin as usual.
// webpack.config.js
var WebpackContentMd5Hash = require('webpack-content-md5-hash');
module.exports = {
output: {
filename: '[name].js',
},
// ...
plugins: [
new WebpackContentMd5Hash()
]
};