webpack-content-md5-hash

1.0.6 • Public • Published

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()
    ]
};

Readme

Keywords

Package Sidebar

Install

npm i webpack-content-md5-hash

Weekly Downloads

4

Version

1.0.6

License

MIT

Unpacked Size

2.58 kB

Total Files

3

Last publish

Collaborators

  • daisyhhuang