Skip to content

[Docs] Babel package names are outdated #4475

Open
@jerzh

Description

@jerzh

Currently, on the page Add React to a Website in the section "Add JSX to a Project", the instructions are to run

npm install babel-cli@6 babel-preset-react-app@3

These packages have been renamed @babel/cli and @babel/preset-react, respectively, so this should be updated.

I believe the next command with --presets react-app/prod should also be changed to --presets @babel/preset-react.

Thank you!

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