Update doc about npm run build:prod
This commit is contained in:
parent
2358bc42c5
commit
9e495bb63e
@ -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`
|
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
|
(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
|
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
|
## Upgrading
|
||||||
|
@ -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
|
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)
|
## Use an alternative Bottle backend (production)
|
||||||
|
|
||||||
This is the simplest option, offers good performances but is less scalable.
|
This is the simplest option, offers good performances but is less scalable.
|
||||||
|
Loading…
Reference in New Issue
Block a user