Get the revved file path of a file
npm install rev-file> Get the revved file path of a file
Reads the file, MD5-hashes it, truncates the hash to 10 characters, appends it to the filename, and returns the modified path.
``sh`
npm install rev-file
`js
import {revisionFile} from 'rev-file';
console.log(await revisionFile('src/unicorn.png'));
//=> 'src/unicorn-bb9d8fe615.png'
`
Returns a Promise` for a revved file path.
Returns a revved file path.