Skip to content

Styled components as styled engine in CRA app with craco and react scripts 5 #33222

Open
@PrimulaX

Description

@PrimulaX

Duplicates

  • I have searched the existing issues

Latest version

  • I have tested the latest version

Current behavior 😯

I'm using styled-components as styled engine which needs alias and craco is used to override webpack configs which only supports react-script 4* (plus craco-alias plugin is already deprecated), meanwhile I need to update react-scripts, can I use styled-components as styled engine without craco?

Expected behavior 🤔

So I need to use styled-components as styled engine without craco because craco doesn't support react-scripts 5.
Sorry for create this issue as bug report.

Steps to reproduce 🕹

No response

Context 🔦

No response

Your environment 🌎

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    examplesRelating to /examplesready to takeHelp wanted. Guidance available. There is a high chance the change will be acceptedregression 🐛A bug, but worse

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions