Skip to content

Replace babel extend helper with Object.assign #15

@mareksuscak

Description

@mareksuscak

React preset currently doesn't forward useBuiltIns option to plugins:

https://babeljs.io/docs/plugins/transform-react-jsx/#optionsuse-built-ins

It means that it won't use a built in Object.assign.

This could be solved by including all plugins but it's a dirty solution which results in adding an overwhelming amount of additional babel plugin packages.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions