Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

7.0.0-alpha.6 - a babel plugin doesn't work #433

Closed
deenns opened this issue Jul 1, 2022 · 2 comments
Closed

7.0.0-alpha.6 - a babel plugin doesn't work #433

deenns opened this issue Jul 1, 2022 · 2 comments
Assignees

Comments

@deenns
Copy link

deenns commented Jul 1, 2022

I use only one babel plugin:

babel: {
    plugins: ["babel-plugin-styled-components"]
}

It's required to convert <div css={"flex: 1 1 auto;"}>something</div> into styled components.

And it seems to not work or work incorrectly, because all the css props aren't processed and just added as attributes to the DOM elements. With alpha.3 version it works as expected.

@bigbali
Copy link

bigbali commented Jul 1, 2022

Hey, I had a similar issue, where module.exports.babel.loaderOptions would be ignored while using '7.0.0-alpha.6'. Downgraded to '7.0.0-alpha.3' and it seems to work.

@dilanx dilanx self-assigned this Jul 1, 2022
@dilanx dilanx moved this to In Progress in CRACO Tasks Jul 1, 2022
@dilanx
Copy link
Owner

dilanx commented Jul 1, 2022

This should now be fixed in alpha 7, sorry!

@dilanx dilanx closed this as completed Jul 1, 2022
Repository owner moved this from In Progress to Done in CRACO Tasks Jul 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

3 participants