mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-12-22 19:45:02 +00:00
build: limit image processing to 2 processes at a time
....resizing 10 images at once is not going to end well on a raspberry pi
This commit is contained in:
parent
4f3b579db3
commit
080a5a9377
1 changed files with 1 additions and 0 deletions
1
build.sh
1
build.sh
|
@ -94,6 +94,7 @@ log_msg "Building website";
|
|||
# This causes the eleventy docs site to minify stuff
|
||||
# Note that this is NOT before the npm install, as npm doesn't install everything if we do that
|
||||
export NODE_ENV=production;
|
||||
export MAX_CONCURRENT=2; # Resizing 10 images at once is not going to end well on a raspberry pi
|
||||
npm run build;
|
||||
|
||||
if [[ ! -d "_site" ]]; then
|
||||
|
|
Loading…
Reference in a new issue