diff --git a/scripts/install b/scripts/install index 65b67cd..9b1a8f6 100644 --- a/scripts/install +++ b/scripts/install @@ -154,7 +154,6 @@ ynh_use_nodejs ( cd "$final_path" ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn install - ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn build:prod ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn cache clean --all ynh_secure_remove --file="$final_path/.cache" ynh_secure_remove --file="$final_path/.yarn" diff --git a/scripts/upgrade b/scripts/upgrade index d2ba0fa..3ea632a 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -190,7 +190,6 @@ ynh_use_nodejs ynh_secure_remove --file="$final_path/node_modules" ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn install - ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn build:prod ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn cache clean --all ynh_secure_remove --file="$final_path/.cache" ynh_secure_remove --file="$final_path/.yarn"