Skip to content

Commit 5cdd234

Browse files
committed
Do less mangling of jenkins builds
This turns off uglification, and turns on the react sanity checks.
1 parent b6d5849 commit 5cdd234

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

‎jenkins.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ npm install
1717
npm run test
1818

1919
# build our artifacts; dumps them in ./vector
20-
npm run build
20+
npm run build:dev
2121

2222
# gzip up ./vector
2323
rm vector-*.tar.gz || true # rm previous artifacts without failing if it doesn't exist

‎package.json‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@
1616
"build:css": "catw \"src/skins/vector/css/**/*.css\" -o vector/components.css --no-watch",
1717
"build:compile": "babel --source-maps -d lib src",
1818
"build:bundle": "NODE_ENV=production webpack -p lib/vector/index.js vector/bundle.js",
19+
"build:bundle:dev": "webpack --optimize-occurence-order lib/vector/index.js vector/bundle.js",
1920
"build": "npm run build:css && npm run build:compile && npm run build:bundle",
21+
"build:dev": "npm run build:css && npm run build:compile && npm run build:bundle:dev",
2022
"package": "scripts/package.sh",
2123
"start:js": "webpack -w src/vector/index.js vector/bundle.js",
2224
"start:js:prod": "NODE_ENV=production webpack -w src/vector/index.js vector/bundle.js",

0 commit comments

Comments
 (0)