-
Notifications
You must be signed in to change notification settings - Fork 90
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
Babel warning with Flow bindings. #208
Comments
|
Well, I finally figured out what's causing it... any code that uses a type importing shorthand, e.g. import React from 'react'
import type { Node } from 'react' I'm not sure if that lies in the court of rewire or babel... thoughts? |
@AndrewSouthpaw That is very helpful. Thank you. |
One more case is when there is a name of the entry in the root file same as the one being imported.
|
I'm reopening the closed issue #108 because it's not actually resolved and the old one isn't getting any attention.
The warning, as from before:
Here's a typical stack trace:
It would be great to get some input from @speedskater on the issue, since it appears to be have been fixed previously. Support for flow bindings is dropped for v7, so I want to make sure rewire isn't accidentally doing flow bindings. From what I can tell of the original fix in rewire that is the case, but I'm having trouble making much sense of the repo, as I'm unfamiliar with Babel plugins. 😞
The text was updated successfully, but these errors were encountered: