Skip to content

Remove react-scripts #18998

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Remove react-scripts #18998

wants to merge 1 commit into from

Conversation

toufali
Copy link
Member

@toufali toufali commented Jun 9, 2025

Because

  • react-scripts introduced many vulnerabilities flagged by GitHub
  • react-scripts does not appear to be used in any active build, start, or test scripts
  • the create-react-app (CRA) project which react-scripts is a part of is deprecated

This pull request

Issue that this pull request solves

Closes: FXA-11853

Other information

This cleanup eliminates unnecessary transitive packages, many of which were old and flagged for vulnerabilities. Though it is discouraged, if at some point we decide to "eject" from create-react-app, we should be able to reinstall react-scripts to do so.

This PR leaves intact all of the files initially created by react-scripts, and does not attempt to unwind similar packages/plugins that use CRA, e.g. Babel, ESLint, etc

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

Successfully merging this pull request may close these issues.

1 participant