From 8c7e2f6182a13eee3b8315e58c9a78a5ba26571e Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Wed, 23 Feb 2022 14:12:44 -0500 Subject: [PATCH] Optimize vueify-next when running init.sh --- init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.sh b/init.sh index fe1ad0e..96509d6 100755 --- a/init.sh +++ b/init.sh @@ -95,7 +95,7 @@ msg "Running: ${c_m}npm install --production" npm install --production || error "${c_m}npm install --production$c_w exited with an error status" msg "Running: ${c_m}gulp --production" -"$(npm bin)/gulp" --production || error "${c_m}gulp --production$c_w exited with an error status" +NODE_ENV=production "$(npm bin)/gulp" --production || error "${c_m}gulp --production$c_w exited with an error status" if (( artisan_down )); then msg "Running: ${c_m}php artisan up"