diff --git a/build b/build index 1141d76..e0e7634 100755 --- a/build +++ b/build @@ -140,9 +140,10 @@ task_ci() { execute npm --version; task_end $?; - + # Run setup in 'development' mode to get the right dependencies installed tasks_run setup; export NODE_ENV=production; + # Run the rest in 'production' mode to create a production build tasks_run main archive deploy; }