Skip to content

Should not resolve CSS Custom Variables #708

Closed
@iahu

Description

@iahu

Do you want to request a feature or report a bug?
report a bug

What is the current behavior?
CSS Custom Variables be compiled as normal css property, like the split properties compile to be a shorthand property.

If the current behavior is a bug, please provide the steps to reproduce.

:root {
  --balloon-size-padding-top: 16px;
  --balloon-size-padding-right: 16px;
  --balloon-size-padding-bottom: 16px;
  --balloon-size-padding-left: 16px;
}

will be compiled to

:root {padding:16px}

What is the expected behavior?
expected keep the CSS Custom Variables properties

:root{--balloon-size-padding-top:16px;--balloon-size-padding-right:16px;--balloon-size-padding-bottom:16px;--balloon-size-padding-left:16px;}

Please mention other relevant information such as your webpack version, Node.js version and Operating System.
node v8.9.1
webpack 3.8.1

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