-
Notifications
You must be signed in to change notification settings - Fork 73
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
Uncaught SyntaxError: Unexpected token { #99
Comments
This could be addressed by transpiling to ES5 using Webpack or Browserify. Projects consuming this may need to turn on the switch to transpile source under node_modules. That could slow down the build though. |
What's that switch? I'm having this problem in another projects.
Yeah, that would be the ideal thing... |
Here's a walk-through for Webpack. There are tutorials out there for Bable and Browserify too. |
Thank you! :-D |
With Chromium 71, trying to add support for
react-native-dom
to a project I get the errorUncaught SyntaxError: Unexpected token {
in filebootstrap.bundle
. Looking at the line, the code is provided byreact-native-dom
itself, seems the bracedimport
statement is not supported by Chromium... Any clue about what could be happening and how can I be able to fix it?The text was updated successfully, but these errors were encountered: