postcss-partial-import icon indicating copy to clipboard operation
postcss-partial-import copied to clipboard

Doesn't work for nested `@import`s

Open AlexWayfer opened this issue 7 years ago • 1 comments

main.pcss:

@import 'foo';

body {
  @import 'bar';
}

_foo.pcss:

p {
  color: red;
}

_bar.pcss:

button {
  color: blue;
}

Output:

p {
  color: red;
}

body {
  @import 'bar';
}

AlexWayfer avatar Aug 12 '18 11:08 AlexWayfer

Who knows what plugin can solve this problem? I bump into this, when importing from vue component.

rodionbgd avatar Jul 19 '23 07:07 rodionbgd