Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About deprecated packages #13651

Open
taiseiyo opened this issue Aug 21, 2024 · 1 comment
Open

About deprecated packages #13651

taiseiyo opened this issue Aug 21, 2024 · 1 comment

Comments

@taiseiyo
Copy link

Abort problem

The babel-preset-react-app inside create-react-app references the following four packages as dependencies, but all of them are deprecated. We recommend that you change them to the recommended packages.

  • @babel/plugin-proposal-class-properties@7.18.6
  • @babel/plugin-proposal-numeric-separator@7.18.6
  • @babel/plugin-proposal-optional-chaining@7.21.0
  • @babel/plugin-proposal-private-methods@7.18.6

The solution I'm like

below for suggested packages to replace these packages with.

  • @babel/plugin-transform-class-properties
  • @babel/plugin-transform-numeric-separator instead.
  • @babel/plugin-transform-optional-chaining instead.
  • @babel/plugin-transform-private-methods instead.

I'm looking forward to your reply.

@eslachance
Copy link

Just stop using create-react-app. All you need is to run npm create vite@latest and use that. Vite is much faster than CRA ever was.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants