gulp-rev
gulp-rev copied to clipboard
Original path as manifest key, new path as value?
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 :)