Add instructions for how to start react in prod and force react to prod mode (#24590)

This commit is contained in:
Jacob Richman
2026-04-02 21:42:32 -07:00
committed by GitHub
parent 8c215c7a88
commit 7de3e4dcf9
5 changed files with 22 additions and 0 deletions

View File

@@ -122,6 +122,13 @@ code.
# From the root of the repository
npm run start
```
- **Production mode (React optimizations):** This method runs the CLI with React
production mode enabled, which is useful for testing performance without
development overhead.
```bash
# From the root of the repository
npm run start:prod
```
- **Production-like mode (linked package):** This method simulates a global
installation by linking your local package. It's useful for testing a local
build in a production workflow.