We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
For application-specific reasons I only store the file name and its subfolder in the revision file like this
{ "logo.png": "logo-afc86ade.png", "wait/wait1.gif": "wait/wait1-e244a2fd-e244a2fd.gif", ... }
for them images, in the CSS I have these lines:
background: url("/img/logo.png")
background-image: url("/img/wait/wait1.gif")
None of your gulp options and default regex won't support this.
I think we need another option to prepend a subfolder to the regex. In my case something like this:
.pipe(fingerprint('/img/rev-manifest.json'), { prependToRegex: '/img/' }))
so that
becomes
background-image: url("/img/wait/wait1-e244a2fd-e244a2fd.gif")
Agree @vincentmac?
The text was updated successfully, but these errors were encountered:
By the way, if I use these two options it works like I wanted it to be:
base: 'img/', prefix: '/img/'
Sorry, something went wrong.
No branches or pull requests
For application-specific reasons I only store the file name and its subfolder in the revision file like this
for them images, in the CSS I have these lines:
None of your gulp options and default regex won't support this.
I think we need another option to prepend a subfolder to the regex. In my case something like this:
so that
becomes
Agree @vincentmac?
The text was updated successfully, but these errors were encountered: