Skip to content

Understanding: babel-preset-react-app #989

Closed
@sathishsoundharajan

Description

@sathishsoundharajan

Hi,
Just for understanding purpose to check either i misunderstood or a bug.

In babel-preset-react-app package between this lines (https://github.com/facebookincubator/create-react-app/blob/master/packages/babel-preset-react-app/index.js#L56-L63) you are adding two react-plugins for development/test mode.

Now lines (https://github.com/facebookincubator/create-react-app/blob/master/packages/babel-preset-react-app/index.js#L80-L88) will add full babel-react-preset itself which contains those two packages as dependencies

image

Now can help me understand why we are adding separately once again on top ?

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