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

LESS @import external URL gives false Successful compilation message and no output file #712

Open
jambox opened this issue Jan 9, 2014 · 0 comments

Comments

@jambox
Copy link

jambox commented Jan 9, 2014

I just spent a while trying to figure out why my CodeKit claimed "File compiled successfully" but wasn't creating an output file. Eventually I opened up Less.app (thanks) and when I saved my .less file it screamed "resource '//hello.myfonts.net/count/XXXXX' was not found". So, it turns out

@import url("//hello.myfonts.net/count/XXXXX");

was failing silently and not throwing a compiler error. After a quick search I realized I had to add "(css)" in front of the url to keep it from crashing:

@import (css) url("//hello.myfonts.net/count/XXXXX");

So, I don't expect CodeKit to give me a how-to on including web fonts, but if the output file isn't being generated, it should at least give me the big ol' red X on the compiler log...

thanks!

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