Skip to content

Mark tailwindcss as an optional dependency of CRA #13007

Open

Description

@ioanabrooks

Is your proposal related to a problem?

react-scripts should havetailwindcss as an optional dependency to prevent issues with tailwind, such as this recent issue to break CRA builds.

Describe the solution you'd like

There has been an attempt made in this PR: #12046

Describe alternatives you've considered

(Write your answer here.)

Additional context

(Write your answer here.)

Activity

  1. mirchandani-mohnish commented on Feb 9, 2023

    @mirchandani-mohnish

    Hey,
    I may be a little new here

    I feel that tailwindcss should be added as an optional dependency to react-scripts. I see that the issue has been marked "needs triage". Does that mean that the community will discuss this first?

    Thanks

  2. caihai123 commented on Apr 17, 2023

    @caihai123

    我想不通eject之后dependencies中为什么会有tailwindcss

  3. oliviertassinari commented on Mar 10, 2024

    @oliviertassinari

    What #12046 tried to solve

  4. ADTC commented on Dec 30, 2024

    @ADTC

    Just spent days removing Tailwind from a project (to satisfy a client who doesn't want it as our dependency)... only to discover that tailwindcss is a dependency of react-scripts so it's installed by npm anyway...

    like...

    Why? 🤦

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions