Skip to content

Importing src/ with latest CRA errors gets syntax error #50

Closed
@zhil

Description

@zhil

Library cant be used with create-react-app by default because of error
image

@babel/plugin-proposal-class-properties cant be added without ejecting CRA, which is pain.
CRA explanations
image
image

Not sure how to fix it, is it possible to change that experemental syntax?

related issues
facebook/create-react-app#4648
material-components/material-components-web-react#107

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions