From f7b6c6bef856160e88862dcc1b9d70b0a14b6b83 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Tue, 23 Nov 2021 08:52:06 +0100 Subject: [PATCH] Update upgrade --- scripts/upgrade | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index ecb1fb6..ff13e72 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -132,10 +132,10 @@ if [ "$upgrade_type" == "UPGRADE_APP" ] then pushd $final_path ynh_use_nodejs - export NODE_ENV=production - ynh_exec_warn_less yarn install - ynh_exec_warn_less yarn add webpack webpack-dev-server --dev - ynh_exec_warn_less yarn build + #export NODE_ENV=production + yarn install --production=true --silent + yarn add webpack webpack-dev-server --dev --non-interactive + yarn build --non-interactive popd fi