commit 76d46cc98703ee78717ece316960b8b336fcf9c4
parent 01e07d2f91091def42ea50422a4ac917ce803a10
Author: mokou <mokou@posteo.de>
Date: Thu, 21 May 2020 18:42:08 +0200
docs: Add NODE_ENV to production build sample
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
@@ -52,7 +52,7 @@ CORS settings in a restrictive way.
To create an optimised version of the app:
```bash
-npm run build
+NODE_ENV=production npm run build
```
This builds all required files and puts them into `public/`, which you can then deploy to your static site hosting