@hiro-ui/react-scripts
TypeScript icon, indicating that this package has built-in type declarations

4.0.3 • Public • Published

@hiro-ui/react-scripts

It's react-scripts@5.0.1 but with our own tweaks.

Notable changes

  • Node 16
  • 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.

Readme

Keywords

none

Package Sidebar

Install

npm i @hiro-ui/react-scripts

Weekly Downloads

37

Version

4.0.3

License

MIT

Unpacked Size

61.9 kB

Total Files

20

Last publish

Collaborators

  • cy303
  • bpneal