zmoazeni/csscss

--ignore-sass-mixins doesn't work with imported files

Closed this issue · 1 comments

If a sass file imports another, --ignore-sass-mixins doesn't work within the imported file.

// file1.scss
@import "file2"
// file2.scss
@mixin foo {
  border: 1px;
  outline: 1px;
  padding: 1px;
}

h1 {
  @include foo;
}

h2 {
  @include foo;
}

csscss --ignore-sass-mixins tmp/file1.scss won't ignore mixins but csscss --ignore-sass-mixins tmp/file2.scss will.

Released in v1.3.1