-
-
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
v6 generates different css code #351
Comments
Can't reproduce, please create reproducible test repo. Please fill out all fields in the issue template, we have header - |
less-loader v6 has a dependency I would call this a definite regression in less-loader and I've already opened up #352 to have less restored as a peer dependency. This is currently also necessary to work around a memory consumption problem in less v3.10 and up. |
I'm having the exact same issue. I'm on the latest It is the exact same less code as described by @endbay, where I have a root less variable as the container class. |
And what happens if you instead use: @c : ~".Spinner";
@{c} {
svg { /* ... */ }
} Because in newer versions of Less, |
@rjgotten do you have a suggestion of which version of less to use to avoid this issue? |
@megawac |
Yeah, I hear you 💯. One of our major dependencies is actually causing this issue - it's on our planned upgrade path but not for a several months. |
In that case you want a version of Less from before mixins could be aliased/assigned to variables. |
Less code
Expected Behavior
Actual Behavior
Code
This is just happend after upgrading to less-loader v6. The old v5 version doesn't have this issue.
The text was updated successfully, but these errors were encountered: