new version causes compile error
the bump to 1.10.3 caused a compile error on our app -
TypeError: /.../src/components/.../index.jsx: x is not a function
at .../node_modules/babel-plugin-styled-components/lib/visitors/transpileCssProp.js:117:19```
Rolling back to 1.10.2 fixed the issue.
Hmm. Do you have some babel 6 stuff lingering around in your app? The only thing I can think of that might trigger this is the addition of https://github.com/styled-components/babel-plugin-styled-components/blob/9c4f19f104789299a4d7c4216a1abd0dbfb55bd1/src/visitors/transpileCssProp.js#L132
If an old version of babel types is being used that type function might not exist.
Can you try out 1.10.4? I added a filter to make sure the function exists before checking it.
yes, looks like most of our babel stuff is at ^6.x Testing 1.10.4 now
Compiled successfully. Thank you for the prompt fix!
Awesome, glad to hear it!