sindresorhus / gulp-rev

Static asset revisioning by appending content hash to filenames: `unicorn.css` → `unicorn-d41d8cd98f.css`

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Original path as manifest key, new path as value?

madsem opened this issue · comments

I'm trying for some time now to achieve the below structure, to have a PHP script read the manifest.
For that I need the original path as json key, and the new file name + hash as value:

 {
      "original/path/to/img/image.jpg": "image-34c9d558b2.jpg"
}

But after everything I have tried so far, I think it might not be possible with gulp-rev, is this accurate?

Thank you :)