Closed ndkhoiits closed 12 years ago
Thanks for the nice explanation! I integrated your testcase locally and was able to reproduce the issue. I will look into it when I find some time.
I'm not able to achieve the desired output with less.js. How did you manage to get what you want? Are you testing in the browser or using node?
I'm testing on Browser with less.js as client compilation
Can you please try to verify this with the command line node.js version? Unfortunately I may not be able to provide a solution if it works like this under the node and rhino.
Hi team,
I'm facing with a problem which relate to relative path in an imported less, I'll show my case in the commit https://github.com/ndkhoiits/lesscss-engine/commit/4e10c3d6362f292c1c91c1030c611d1ec4f83ebd
The problem is demonstrated as following: I have a less file at root folder named
main.less
, a file ininc
folder namedimported.less
, and a list of images inbackground
folder subfolder ofinc
|─── main.less |─── inc | |──── imported.less | |──── background
Now, in imported.less, I have a style like that:
and the main.less
Now, my output expectation is :