-
Notifications
You must be signed in to change notification settings - Fork 23
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
Plugin tries to wrap PropTypes.shape #25
Comments
This doesn’t appear to have anything to do with gaearon/babel-plugin-react-transform#26. gaearon/babel-plugin-react-transform#26 is a feature request for wrapping exports. What you see is a bug in Babel plugin where it wraps A test and a fix are welcome! |
I think I know what the problem is. |
Should be fixed in 2.0.1. |
Source:
Output
And it fails on the line
with the following error because PropTypes.Shape.prototype.render is undefined
The text was updated successfully, but these errors were encountered: