Kronuz / pyScss

pyScss, a Scss compiler for Python
MIT License
582 stars 141 forks source link

Absolute-relative import doesn't work #173

Open eevee opened 11 years ago

eevee commented 11 years ago

Given the following, where /root is the only load path:

/root:

@import "lib/one";

/root/lib/_one.scss:

@import "lib/two";

Ruby scss will import /root/lib/_two.scss if it exists. pyScss will only look for /root/lib/lib/_two.scss.

At least, that's what happens for me in pyramid_scss.

eevee commented 10 years ago

I think this is fixed in my current branch, but it needs a test.

bil-bas commented 9 years ago

The pyscss behaviour is correct, isn't it? Ruby is getting it wrong (and this will break importing bootstrap and I'm assuming bootstrap devs know how import should work).

On Linux I get the correct, relative, import but on Windows I get the incorrect, absolute, import.