To use Rescript to build React apps. Config is ejected to be able to edit it.
Dev mode:
npm run re:watch
- to rebuild Rescript files upon changenpm run start
- webpack server with hot reload
Production mode:
npm run re:build
- to build all Rescript modulesnpm run build
- to build JS with webpack