-
Notifications
You must be signed in to change notification settings - Fork 39
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
css url rewrite for fonts is broken in dev mode #142
Comments
what did you expect it to be? looks fine to me if you serve |
Ideally, it should be relative to the css file, i.e. no leading |
I usually structure my apps in that there is an index.html at the root: https://github.com/max99x/guesshub/tree/master/app https://github.com/amasad/debugjs.com |
oh yeah that's a bug. there shouldn't be a leading it should be fixed though since component reverted to an older version of builder. we're probably going to just rewrite the builder instead of releasing a new version, so i'm not sure if a PR would be helpful. maybe a test case? i'll leave this open for now though. ideally, the registry would also be a server, so instead of rewriting these assets to relative paths, we can just rewrite them against the registry like |
Cool, I'll update this issue to make it clear.
That'd be nice, but many would still prefer local for development. |
there's https://github.com/component/spec for specs. yeah, it would be opt-in. |
haven't seen this error in the latest component and i'm using font-awesome as well. can you confirm? |
on 0.19.5 leading |
interesting. i can't reproduce =/ |
remember it only happens with |
+1 seeing this too. also not just fonts, but any urls (in case that wasn't obvious haha) |
running into this as well |
After updating to component v0.19.1 from v0.18 the url rewrite for font (and assuming images) is broken because of the change from being relative to the css file to absolute. Note the addition of the leading
/
. Try:see:
The text was updated successfully, but these errors were encountered: