Skip to content

Doesn't work on the MUI commonjs modules#365

Open
Janpot wants to merge 1 commit intostyled-components:mainfrom
Janpot:mui/styles/failing-tests2
Open

Doesn't work on the MUI commonjs modules#365
Janpot wants to merge 1 commit intostyled-components:mainfrom
Janpot:mui/styles/failing-tests2

Conversation

@Janpot
Copy link

@Janpot Janpot commented Nov 30, 2021

I'm currently investigating an issue on @mui/material+styled-components+next (mui/material-ui#29742). It turns that in the Next.js server bundle, the styled calls are not correctly being identified by babel-plugin-styled-components. The server bundle uses the commonjs version of @mui/material. This PR adds a failing test case for that format.

edit: 🤔 The new test doesn't seem to run in CI for some reason

@slavco86
Copy link

slavco86 commented Mar 5, 2023

@Janpot , any update on this?

@landsman
Copy link

Hello, is there a plan how to fix this?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants