@hiro-ui/react-scripts
v4.1.0
Published
It's [email protected] but with our own tweaks.
Downloads
43
Readme
@hiro-ui/react-scripts
It's [email protected] but with our own tweaks.
Notable changes
- 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
Additional to CRA flags
--desktop | hiro-desktop config added for start and build command (multiple entrypoints, NODE_TLS_REJECT_UNAUTHORIZED and HIRO_VERSION in process.env)
Additional to CRA .env configuration parameters
| 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. |