Skip to content
This repository was archived by the owner on Aug 21, 2024. It is now read-only.
This repository was archived by the owner on Aug 21, 2024. It is now read-only.

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

@zmoazeni

Description

@zmoazeni

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions