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
  • Merge requests
  • !12130

Faster builds with `react-scripts build --dev`

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Administrator requested to merge github/fork/p-avital/patch-2 into main Mar 04, 2022
  • Overview 2
  • Commits 1
  • Pipelines 0
  • Changes 1

Created by: p-avital

Hello,

I'll be honest, I've been going straight for the simplest solution, and I haven't actually tested it. Definitely review this before merging. I'm mostly doing this PR to try and prompt the maintainers to let such a thing exist.

I feel like there's too big a leap from start to build, as one also spawns a server (not required for my usecase), whereas the other only does production-optimized builds.

This might not be the cleanest way to do it, but I think this would allow a middle ground where one can run fast builds without spawning a server (useful when an other server is already serving the build folder).

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/p-avital/patch-2