diff --git a/scripts/install b/scripts/install index fd0b731..27683eb 100755 --- a/scripts/install +++ b/scripts/install @@ -50,7 +50,7 @@ pushd $install_dir ynh_use_nodejs ynh_script_progression --message="npm install... This can be very long, be patient !" --weight=18 - ynh_exec_warn_less env $ynh_node_load_PATH $ynh_npm ci --quiet --network-timeout=100000 + ynh_exec_warn_less env $ynh_node_load_PATH $ynh_npm ci --quiet --production --prefer-offline --network-timeout=100000 ynh_script_progression --message="npm run build... This can be very long, be patient !" --weight=25 ynh_exec_warn_less env $ynh_node_load_PATH $ynh_npm run build