Skip to content

exclude option does not work as expected #792

@chenjiahan

Description

@chenjiahan

I'm using the exclude option of Lightning CSS. According to the documentation:

The include and exclude options allow you to explicitly turn on or off certain features.

Adding MediaRangeSyntax to exclude turns out not to work:

image

playground

  • input:
@media (min-resolution: 2dppx) {
  .a {
    color: green;
  }
}
  • current output:
@media (resolution>=2dppx){.a{color:green}}
  • expected output:
@media (min-resolution: 2dppx){.a{color:green}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions