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.
window.relativeUrls
is set totrue
before less loads (and checking in web inspector confirms this); however, resources are still loading relative to the main less file that is@import
ing the others.I'm noticing this behavior specifically when using Bootstrap 3. A main file is loading
bootstrap.less
, which in turn loadsvariables.less
andglyphicons.less
in the same directory.glyphicons.less
is then attempting to load fonts relative to the main less file, rather than relative to itself.