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

Problem with nested relative imports #7

Closed
kastigar opened this issue Feb 1, 2012 · 1 comment
Closed

Problem with nested relative imports #7

kastigar opened this issue Feb 1, 2012 · 1 comment

Comments

@kastigar
Copy link
Contributor

kastigar commented Feb 1, 2012

Hi!

There is such file structure:
less/
|-lib/
| |-- lib.less
| |-- sub.less
| -- main.less

main.less:

@import "lib/lib.less"

lib/lib.less:

@import "sub.less"

This doesn't work. Somehow while importing sub.less in lib.less it searches for sub.less instead of lib/sub.less. Browser version of lesscss works fine.

@softprops
Copy link
Owner

Interesting. I'm running less through rhino so there may be something I missed. I'll have a look tonight.

kastigar added a commit to kastigar/less-sbt that referenced this issue Feb 2, 2012
kastigar added a commit to kastigar/less-sbt that referenced this issue Feb 2, 2012
softprops added a commit that referenced this issue Feb 3, 2012
@kastigar kastigar closed this as completed Feb 5, 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