In the Magento 2 lib documentation it contains the following:
@media-common: true|false - sets whether to output common styles. For common styles every time you want to add some styles you should use
& when (@media-common = true) {
your styles
}
Question
What is the difference between using this and just writing Less without it? Such as:
& when (@media-common = true) {
body {
background: blue;
}
}
How does that compile differently to:
body {
background: blue;
}
Won't it be outputted in styles-l.css and styles-m.css regardless?