styled-components/babel-plugin-styled-components

Compatibility with Million.js

BlueTree242 opened this issue · 1 comments

When using css prop from this, and https://million.dev/docs causes many problems, first they render as <undefined> and second there are loads of console errors, one for each component using css=

image

Removing this plugin fixes the problem but of course css is not applied so this doesn't help for me.

This is my website without million, and with million on the top container only (everything else renders fine)

https://github.com/BlueTree242/BlueTree242/tree/website
https://github.com/BlueTree242/BlueTree242/tree/website-million

I think the error comes from million.js but i think this plugin changed something causing it to error