Skip to content

@supports are printed even if it was only an unused transparent mixing inside of them #2488

@wesleytodd

Description

@wesleytodd

input.scss

%foo {
  @supports (mask-repeat: repeat-x) {
     mask-image: url(foo.svg);
  }
}

Actual results 1

@supports (mask-repeat: repeat-x) { }

Expected result

// No output

version info:

$ node-sass --version
node-sass	4.5.3	(Wrapper)	[JavaScript]
libsass  	3.5.0.beta.2	(Sass Compiler)	[C/C++]

Edit: I am willing to put in the PR for this if someone would point me in the right direction.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions