Skip to content
This repository was archived by the owner on Oct 24, 2023. It is now read-only.
This repository was archived by the owner on Oct 24, 2023. It is now read-only.

Not transforming color function "hwb()" with stage-0 #108

@shallinta

Description

@shallinta

I still got "color: hwb(...)" in my chrome which is not able to recognize it.

My chrome browser version is above 71 beta.

I'm using webpack and [email protected], and [email protected], [email protected].

I config postcss with a config file .postcssrc.js, content as following:

module.exports = {
  parser: false,
  plugins: {
    'postcss-preset-env': {
      stage: 0,
      browsers: [
        '> 1%',
        'Android >= 4.4',
        'IOS >= 7',
        'ie >= 9'
      ]
    }
  }
};

In addition, color function "gray()" works well. And there is no package "postcss-color-hwb" found in node_modules directory while "postcss-color-gray" is found.

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