From 4e7e6d412687ab9c967dc15fb319647235622c6c Mon Sep 17 00:00:00 2001 From: Riku Rouvila Date: Wed, 25 Nov 2015 20:36:35 +0200 Subject: [PATCH] set NODE_ENV in deploy.sh and remove it from travis configuration so that travis will still install development deps --- deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy.sh b/deploy.sh index 6b98eb7..892716b 100755 --- a/deploy.sh +++ b/deploy.sh @@ -6,7 +6,7 @@ rm -rf public || exit 0; mkdir public; # run our compile script, discussed above -npm run build +NODE_ENV=production npm run build # go to the public directory and create a *new* Git repo cd public