Closed Riim closed 7 years ago
Can you add a test for this fix (I am not sure what order do you try to fix).
Released in 2.0.1
Thanks :)
@ai still seeing this issue, can you see my configuration in postcss/postcss-loader#210 to see if anything is off? I can't tell if the issue is this plugin or the loader...
Can you describe you exactly problem here? Input CSS, output, expected output?
(Today is hard day for me, so I need you help)
Yeah, no worries. I'm actually going to put together a minimal test case for this in the issue I linked to above so I'll cc you once I have that ready.
Thanks, I will look tomorrow.
@skipjack I tested with latest postcss-nested
and output was:
body {
margin: 0;
}
.test {
display: flex;
font-size: 3em;
height: 100vh;
justify-content: center;
align-items: center;
color: black;
background: grey;
}
.test--white {
color: white;
}
.test--blue {
color: blue;
}
Very strange that we have different behaviour in your demo.
Ah thanks for testing... it actually turned out to be postcss-cssnext, sorry for bugging you!
Исправление для сломавшегося порядка следования правил.