diff --git a/scripts/install b/scripts/install index 1592b57..8143fd6 100644 --- a/scripts/install +++ b/scripts/install @@ -126,8 +126,7 @@ ynh_script_progression --message="Building $app... (this will take some time and pushd "$final_path" ynh_use_nodejs ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm install - #ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm run build - ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm run clean && webpack + ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm run build popd #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 7f114f6..d65b7d7 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -103,8 +103,8 @@ then pushd "$final_path" ynh_use_nodejs - ynh_exec_warn_less ynh_exec_as $app env "$ynh_node_load_PATH" npm install - ynh_exec_warn_less ynh_exec_as $app env "$ynh_node_load_PATH" npm run build + ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm install + ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm run build popd fi