-
-
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
Updated README regarding relative filepaths issue #121
Updated README regarding relative filepaths issue #121
Conversation
Just got bit by this, would be great to have a warning in the readme. |
Update: you can actually circumvent this issue! // instead of this:
.foo { background: url('./foo.png'); }
// write this:
.foo { background: url('../parent-dir/foo.png'); } ...where |
Thanks for the workaround. Unfortunately, it won't fix cases where e.g. a mixin with The root cause is related to relative path ambiguity (e.g. less/less.js#2629) and the fact that less-loader enables the relative URLs option by default. |
Disabling |
Thx. We somehow need a way to fix this... unfortunately, it's not actually a bug but more a clash of specifications. |
Hi, If someone is interested I have solved this using the following loaders.
|
Thx @istvano . |
Referencing issue #109 it seems like this is something worth including in the README? Feel free to close the PR if unnecessary but if people are using CSS modules, they should be aware of that issue.