-
-
Notifications
You must be signed in to change notification settings - Fork 194
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
image-size, image-width, image-height doesn't work correctly #43
Comments
Mhmmm that might be a limitation by webpack @sokra? Why is |
webpack uses a async filesystem. You must use the async version of resolve. |
I have the same problem. Is there some workaround for this problem? |
@sokra Shouldn't sync resolving be opt-in? |
The problem is that some parts of less.js don't use Either we use a uncool workaround with multiple less passes, or we fixed the occrences of |
i'm having the same problem, trying to use image-height("../some/path/to/image.png") and get:
can you please explain how to solve/workaround this, or what i'm doing wrong? |
@avivr, as @sokra explain before, the less.js use only |
Fix shipped with |
For instance, we have "sub/variables.less" which contains:
And if try to import "~sub/variables.less" in other file (the
resolve.root
is set correctly) via:the "less-loader" will throws exception:
The text was updated successfully, but these errors were encountered: