Update doc about npm run build:prod

This commit is contained in:
Lucas Verney 2021-05-16 15:10:08 +02:00
parent 2358bc42c5
commit 9e495bb63e
2 changed files with 8 additions and 1 deletions

View File

@ -219,7 +219,11 @@ provided that you name each of them uniquely.
If you want to build the web assets, you can use `npm run build:dev`
(respectively `npm run watch:dev` to build continuously and monitor changes in
source files). You can use `npm run build:prod` (`npm run watch:prod`) to do
the same in production mode (with minification etc).
the same in production mode (main difference is minification of generated
source code).
**Note**: If `npm run build:prod` fails, you can fall back to `npm run
build:dev` safely.
## Upgrading

View File

@ -50,6 +50,9 @@ _Note 2_: As of 2019-03-13, building the webapp requires libpng-dev to be able t
sudo apt install libpng-dev
_Note 3_: If `npm run build:prod` fails, you can fall back to `npm run
build:dev` safely.
## Use an alternative Bottle backend (production)
This is the simplest option, offers good performances but is less scalable.