From 5cdd234bf27f89341b3d3b6747aaa5cda0e4658a Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Thu, 14 Apr 2016 15:05:36 +0100 Subject: [PATCH] Do less mangling of jenkins builds This turns off uglification, and turns on the react sanity checks. --- jenkins.sh | 2 +- package.json | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/jenkins.sh b/jenkins.sh index 4e4b7fbbe7..f60bec38b2 100755 --- a/jenkins.sh +++ b/jenkins.sh @@ -17,7 +17,7 @@ npm install npm run test # build our artifacts; dumps them in ./vector -npm run build +npm run build:dev # gzip up ./vector rm vector-*.tar.gz || true # rm previous artifacts without failing if it doesn't exist diff --git a/package.json b/package.json index fa92ba9ddf..6c85f552e2 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,9 @@ "build:css": "catw \"src/skins/vector/css/**/*.css\" -o vector/components.css --no-watch", "build:compile": "babel --source-maps -d lib src", "build:bundle": "NODE_ENV=production webpack -p lib/vector/index.js vector/bundle.js", + "build:bundle:dev": "webpack --optimize-occurence-order lib/vector/index.js vector/bundle.js", "build": "npm run build:css && npm run build:compile && npm run build:bundle", + "build:dev": "npm run build:css && npm run build:compile && npm run build:bundle:dev", "package": "scripts/package.sh", "start:js": "webpack -w src/vector/index.js vector/bundle.js", "start:js:prod": "NODE_ENV=production webpack -w src/vector/index.js vector/bundle.js",