Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Original path as manifest key, new path as value? #246

Open
madsem opened this issue Jun 8, 2018 · 0 comments
Open

Original path as manifest key, new path as value? #246

madsem opened this issue Jun 8, 2018 · 0 comments

Comments

@madsem
Copy link

madsem commented Jun 8, 2018

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 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant