sindresorhus / gulp-rev

Static asset revisioning by appending content hash to filenames: `unicorn.css` → `unicorn-d41d8cd98f.css`
MIT License
1.54k stars 217 forks source link

Support customize hash method. #79

Closed ifduyue closed 9 years ago

ifduyue commented 9 years ago

Hash method must be one of the items listed in crypto.getHashes(). e.g. md5, sha1, sha256, sha512.

Doesn't change the default hash method - md5. The hash method of each rev'd file is stored at file.revHashMethod.

sindresorhus commented 9 years ago

No thanks.