-
Notifications
You must be signed in to change notification settings - Fork 13
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
Method does not exist: math #9
Comments
The issue seems to be that babel-plugin-polished is pegged to v1 of polished: babel-plugin-polished/package.json Lines 19 to 21 in efa0548
That should be updated to v3 or maybe better set in peerDependencies |
Look like someone already submitted a pr... |
Hi, I'm having the same problem with fluidRange.
Weird though because some methods can be used and others break. transparentize, opacify, darken for example are ok to import like: But when I try with fluidRange i get: FYI I also tried importing default like this: and if I log polished it actually shows me all the methods including fluidRange, but then breaks. [EDIT] I guess @andrejpavlovic is right, any chance we can get this PR merged? |
Tried some new functions from polish today with some errors... Here I downloaded and added a test to your plugin (btw, please add jest as dev dep.)
Related to: Corjen/gatsby-plugin-polished#1
The text was updated successfully, but these errors were encountered: