-
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
inline
and less
imports of the same name = race condition
#3170
Conversation
…ndition Stumbled upon this working on webpack-contrib/less-loader#242. See an instance of the mentioned race condition here: https://ci.appveyor.com/project/webpack-contrib/less-loader/build/1.0.46/job/mbywf90cimqkjee5 It happens when processing files like this: ```less @import (less) "some/css.css"; @import (inline) "some/css.css"; ```
inline
and less
imports of the same name lead to a race conditioninline
and less
imports of the same name = race condition
I'm not sure I actually understand the issue... Could you elaborate please? |
It's about A better solution would be not to use only |
(1) and (2) sometimes don't work (an exception is thrown) without it. That's it. |
I see. So the issue is a sort of #1898 replica. |
Thanks. |
Sounds like a bug I may have introduced. I added caching to files in 3.x. Good catch. |
Can we possibly have a |
Stumbled upon this working on webpack-contrib/less-loader#242.
See an instance of the mentioned race condition here: https://ci.appveyor.com/project/webpack-contrib/less-loader/build/1.0.46/job/mbywf90cimqkjee5
It happens when processing files like this: