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

Fails on root-relative paths #5

Open
itslevo opened this issue Sep 1, 2014 · 1 comment
Open

Fails on root-relative paths #5

itslevo opened this issue Sep 1, 2014 · 1 comment

Comments

@itslevo
Copy link

itslevo commented Sep 1, 2014

File lookup fails in case the revisioned file is located in a parallel directory to the source file and the url is root-relative:
/css/revisioned_file.css
/includes/source_file.html <-- Link in source file is src="/css/revisioned_file.css"

The plugin fails to locate the .css file relative to the .html file. Changing link to src="../css/revisioned_file.css/" works, but isn't ideal.
Perhaps, an option to specify "base" directory?

@imsunf
Copy link

imsunf commented Aug 14, 2016

same problem

mccambridge added a commit to mccambridge/gulp-rev-append that referenced this issue Oct 19, 2016
… for root relative files to consider them gulpfile-relative
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

2 participants