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 url converted into absolute path after build #63

Closed
ginotria opened this issue Jan 18, 2012 · 3 comments
Closed

less url converted into absolute path after build #63

ginotria opened this issue Jan 18, 2012 · 3 comments

Comments

@ginotria
Copy link

before build:
background: url(../res/bg/bggradient.png) repeat-x;

after build
background:url(../../../file:///c:/wamp/www/worldracers/wr/game/../res/bg/bggradient.png) repeat-x;

@ginotria
Copy link
Author

fixed at 514b030.

@ginotria ginotria reopened this Jan 20, 2012
@ginotria
Copy link
Author

the url being converted into abosolute path after build is no longer happening. But the url ath still aint converted right.

before build:
background:url(../res/btn/btn_sprite.png) no-repeat;

after build.
background:url(wr/component/../res/btn/btn_sprite.png) no-repeat;

this results on the browser looking for getting:

http://localhost/jsmvc/wr/wr/res/btn/btn_sprite.png --> notice doubled "wr/"

instead of:
http://localhost/jsmvc/wr/res/btn/btn_sprite.png

thanks.

@daffl
Copy link
Contributor

daffl commented Apr 30, 2012

The latest commits should fix all URL related issues with LESS.

@daffl daffl closed this as completed Apr 30, 2012
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