Project Digest Webpack Plugin
Webpack plugin to generate file with digest of all project assets.
npm install --save-dev project-digest-webpack-plugin
In your webpack configuration:
const ProjectDigestPlugin = ;moduleexports =// ...plugins:'digest'algorithm: 'md5'
This will produce file "digest" in your output directory with digest, based on all project assets:
algorithm- Hash algorithm used to generate digest. You can use all algorithms, compatible with crypto.createHash. Examples are 'sha256' (default), 'sha512', etc.
Bug reports and pull requests are welcome on GitHub at https://github.com/djaler/project-digest-webpack-plugin.
The package is available as open source under the terms of the MIT License.