Closed notiv-nt closed 5 years ago
Parse media variables before sass, and keep them for next parsing
postcss-inline-media > postcss-simple-vars > sass
$from-sm: (min-width: 320px);
body {
color: @from-sm red;
}
>
@media (min-width: 320px) {
body {
color: red;
}
}
Good idea. I will accept and release it next week.
Released in 5.0.2
With
keep: true
Without (by default):