Originally forked from https://github.com/jvanderneutstulen/hashfingerprint-brunch
A Brunch plugin that will rename assets with an unique SHA hash. This will allow better caching of assets. It will write a manifest file, so other tooling can rewrite the urls.
yarn add fingerprinter-brunch
Note: if you're using gzip-brunch make sure fingerprinter-brunch is listed before gzip-brunch in the dependency list of your package.json
Default configuration:
module.exports = config:
plugins:
fingerprinter:
manifest: 'public/manifest.json'
precision: 8
Output location of the manifest file.
How many characters of the SHA1 hash must be used in the hashed filename. Default should be fine.
MIT