From 9a2f1bda46ff500f9cd6e3fa655bdfd8b0c566c1 Mon Sep 17 00:00:00 2001 From: David Bazile Date: Tue, 7 Feb 2017 13:10:12 -0500 Subject: [PATCH] CI: Ensure npm builds in `production` mode --- Jenkinsfile.new | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Jenkinsfile.new b/Jenkinsfile.new index 67f27111..ec24a306 100644 --- a/Jenkinsfile.new +++ b/Jenkinsfile.new @@ -18,8 +18,7 @@ node { sh """ npm install ./node_modules/.bin/typings install - NODE_ENV=production - npm run build + NODE_ENV=production npm run build cp nginx.conf dist/ pushd dist > /dev/null