-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.1.5 broke relative paths #478
Comments
Hmm weird. That commit is just the build commit, so it'll include all commits between 1.1.4 -> 1.1.5... doesn't help.. I'll look into it though. |
Yeah that's the weird thing - I stepped through all the commits of |
Here it is: 1751f13#L0R8 The author didn't patch the regex properly, making it all optional and I didn't catch the mistake when I merged. I pushed the fix. |
Won't work in this case: This works, though: |
This is a very serious bug for those who use LESS extensively in the browser. Please push out a new minor version so people don't waste time debugging this later on. |
He did, it's fixed (mostly). Importing regular CSS files still gets On Nov 29, 2011, at 12:20 PM, "Chris M. Welsh"
|
Relative paths are broken in 1.1.5 in less.js in the browser, works fine in Node.
For example:
main.less
When compiled with Node the url will be relative to the LESS file, as it should be. When evaluated in the browser with
less.js
it's relative to the html file, causing a 404 not found on the image.Relative paths work just fine in 1.1.4. I ran a git bisect and narrowed it down to this commit: (dist) version bump & build 1.1.5
This is a pretty critical bug, appearing all over the place. Duplicates of this issue:
Issue #464
Issue #471
issue 465
Please address.
The text was updated successfully, but these errors were encountered: