It's react-scripts@5.0.1 but with our own tweaks.
It's react-scripts@5.0.1 but with our own tweaks.
- Node 20
- SASS is supported out of the box (no need to install the node-sass package)
- ESLint is disabled, because we run it with our own config through husky
- Code splitting is managed by CHUNKS_GENERATION flag (process.env.CHUNKS_GENERATION === 'true';)
- Disabled CRA REACTAPP prefix for .env variables' names
- used old format of manifest file
--desktop | hiro-desktop config added for start and build command (multiple entrypoints, NODE_TLS_REJECT_UNAUTHORIZED and HIRO_VERSION in process.env)
| Variable | Development | Production | Notes |
| ----------------- | ----------- | ---------- | ------------------------------------------------------------------------------------------------------------------ |
| CHUNKS_GENERATION | - | + | When set to true, chunks are generated for a production build. Available only for desktop apps, not for desktop. |