less / old-lesscss.org

The OLD lesscss.org. For the new one see less-docs.
http://lesscss.org
90 stars 48 forks source link

relativeUrls options does not work #100

Closed dak closed 11 years ago

dak commented 11 years ago

window.relativeUrls is set to true before less loads (and checking in web inspector confirms this); however, resources are still loading relative to the main less file that is @importing the others.

I'm noticing this behavior specifically when using Bootstrap 3. A main file is loading bootstrap.less, which in turn loads variables.less and glyphicons.less in the same directory. glyphicons.less is then attempting to load fonts relative to the main less file, rather than relative to itself.