-
Notifications
You must be signed in to change notification settings - Fork 204
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
unexpected token { #236
Comments
Can you provide more info? |
I have been having issues with my babel preset since v2.12 (released in November 2017), but only when testing on Travis using Node.js v4. The problem? Same error After some more digging in the source for EDIT: |
Hi, I use
react-native
andbabel-plugin-module-resolver
, and I got the errorUnexpected token {
in index.ios.js
I added the extension already:
['.js', '.ios.js', '.android.js']
And now I am using
babel-plugin-module-alias
, and it work fine.Any idea? Thanks.
The text was updated successfully, but these errors were encountered: