Skip to content

Uncaught SyntaxError: Unexpected token { #99

@piranna

Description

@piranna

With Chromium 71, trying to add support for react-native-dom to a project I get the error Uncaught SyntaxError: Unexpected token { in file bootstrap.bundle. Looking at the line, the code is provided by react-native-dom itself, seems the braced import statement is not supported by Chromium... Any clue about what could be happening and how can I be able to fix it?

  import { RNDomInstance } from "react-native-dom";

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions