Skip to content

Dependency issues with postcss-preset-env #29

@ryanb

Description

@ryanb

The postcss-preset-env package hasn't released a new version in 2 years and is starting to cause dependency issues. For example, this warning shows up when using the latest version of tailwindcss since the autoprefixer versions conflict.

tailwindcss@2.2.15" has unmet peer dependency "autoprefixer@^10.0.2"

I recommend removing postcss-present-env from the default install and including the plugins directly. For example, add autoprefixer and postcss-nesting packages if that's what is used by the app.

This results in fewer npm dependencies and a faster postcss build because it is only doing what the app needs.

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