just-boris / less-plugin-glob

Globbing support for LESS
MIT License
70 stars 12 forks source link

Absolute paths are broken. #14

Closed carlitoplatanito closed 6 years ago

carlitoplatanito commented 7 years ago

It does not seem to detect absolute paths correctly and ends up pre-pending the basePath.

thorn0 commented 7 years ago

I'm probably having the same issue. On Windows, after update to 2.0.0, I'm getting things like: background:url(../../d:/dev/foo/srcui/images/default/avatar.gif) I have relativeUrls: true if it matters. Had to switch back to 1.1.1.

Remownz commented 6 years ago

same here: @import "base/*.less";

generates absolute paths: /Users/[...]/Workspace/[..]/frontend/src/less/base/[...].less

all fine with 1.1.1