README: Fix production mode instructions

Changed the production mode instructions as there is no `yarn build` anymore

Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
Philip Molares 2021-02-07 13:36:55 +01:00
parent c1dd3eb4e1
commit d1e16fbfcc

View file

@ -60,7 +60,7 @@ You can inspect the generated production-bundle files to look for optimization i
1. Clone this repo (e.g. `git clone https://github.com/hedgedoc/react-client.git hedgedoc-react-client`)
2. Go inside the repo (e.g. `cd hedgedoc-react-client`)
3. Run `yarn install`
4. Run `yarn build`
4. Run `yarn build:production`
This will build the app in production mode and save it into the `build` folder.
The production build is optimized for best performance, minimized