Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C create-react-app
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,547
    • Issues 1,547
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 417
    • Merge requests 417
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Meta
  • create-react-app
  • Issues
  • #751
Closed
Open
Issue created Sep 25, 2016 by Administrator@rootContributor

Remove unnecessary dependencies

Created by: gaearon

Update: claimed by @alamgird

Now that we have a monorepo structure, we can pull out some of the small and annoying dependencies from packages/react-scripts/package.json into packages/react-dev-utils/package.json and provide helpers there instead.

I started this in https://github.com/facebookincubator/create-react-app/pull/723 but packages/react-scripts/scripts/build.js is still pretty noisy, and we could extract the code to compare build sizes (and maybe something else) into react-dev-utils.

I recommend the following workflow:

  1. Look at packages/react-scripts/package.json
  2. See where these dependencies get used
  3. If they seem non-essential and too low-level, figure out how to hide them in react-dev-utils
  4. Repeat

This is a contributor issue. I don’t plan to work on this right now so please write a comment if you intend to take it. Please don’t start working without a comment so we don’t have many people solving the same problem.

If you need any help, ping me in this issue and I’ll be happy to reply or explain something.

Assignee
Assign to
Time tracking