Use canonical Uris when replacing filePaths, i.e. when working with filepaths
with non forward slash (/) path separators we replace them with forward slash.
options.replaceInExtensions
Type: Array
Default: ['.js', '.css', '.html', '.hbs']
Only substitute in new filenames in files of these types.
options.prefix
Type: string
Default: ``
Add the prefix string to each replacement.
options.manifest
Type: Stream (e.g., gulp.src())
Read JSON manifests written out by rev. Allows replacing filenames that were
reved prior to the current task.
options.modifyUnreved, options.modifyReved
Type: Function
Modify the name of the unreved/reved files before using them. The filename is
passed to the function as the first argument.
For example, if in your manifest you have:
{"js/app.js.map": "js/app-98adc164.js.map"}
If you wanted to get rid of the js/ path just for .map files (because they
are sourcemaps and the references to them are relative, not absolute) you could
do the following: