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

css-animation 1.4.0 breaks transpiling #30

Closed
wallaroo opened this issue Aug 16, 2017 · 2 comments
Closed

css-animation 1.4.0 breaks transpiling #30

wallaroo opened this issue Aug 16, 2017 · 2 comments

Comments

@wallaroo
Copy link

hi, css-animation 1.4.0 added the module field in its package.json (yiminghe/css-animation@2005b5a) and now when rc-animate is a dependency of a create-react-app project the build fails with

css-animation' does not contain an export named 'isCssAnimationSupported

i've also created an issue on css-animation yiminghe/css-animation#13

@VanDavv
Copy link

VanDavv commented Aug 16, 2017

also referenced here yiminghe/css-animation#14

@rafauke
Copy link

rafauke commented Aug 16, 2017

Confirmed. Obviously, easy fix is just:

9 | import cssAnimate from 'css-animation';
...
76 | if ((cssAnimate.isCssAnimationSupported || !props.animation[animationType]) && transitionName && props[transitionMap[animationType]]) { ... }

doesn't look great though ;)

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

No branches or pull requests

4 participants