Skip to content

Add support for postcss using postcss-preset-env #4747

@szimek

Description

@szimek

Is this a bug report?

No.

It would be really great if create-react-app had support for postcss plugins. Recently, it became much easier to do with postcss-preset-env, which is very similar in configuration to @babel/preset-env, i.e. one can specify which browsers should be supported (the package also supports browserslist) and which features (either whole stages or individual features or mix of those) - https://preset-env.cssdb.org/. It also already includes autoprefixer.

The popular postcss-cssnext package was deprecated in favor of postcss-preset-env.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions