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

package.json "module" field breaks transpiling #13

Closed
wallaroo opened this issue Aug 16, 2017 · 0 comments · Fixed by #15
Closed

package.json "module" field breaks transpiling #13

wallaroo opened this issue Aug 16, 2017 · 0 comments · Fixed by #15

Comments

@wallaroo
Copy link

hi the recent 1.4.0 release added the "module" field in package.json but now when css-animation is a dependency of a create-react-app project the build fails with

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

the issue is that isCssAnimationSupported is exported as a field of the default export
i don't know why but before the package.json modification the following import worked
{isCssAnimationSupported} from "css-animation"

is possible to add the named export:
export isCssAnimationSupported
to be backward compatible?
tnx

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

Successfully merging a pull request may close this issue.

1 participant