<===> input.scss
.foo {a: b}
.bar {c: d; @extend .foo}

<===> output.css
.foo, .bar {
  a: b;
}

.bar {
  c: d;
}