From 12e53f50466d621b1456eab89d237a4b19320ebe Mon Sep 17 00:00:00 2001 From: David Baker Date: Fri, 14 Aug 2015 14:11:47 +0100 Subject: [PATCH] Ditch envify as it doesn't actually seem to work. Just setting the env var works fine though. --- examples/vector/package.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/examples/vector/package.json b/examples/vector/package.json index 8357126f..230a261b 100644 --- a/examples/vector/package.json +++ b/examples/vector/package.json @@ -10,7 +10,6 @@ "license": "Apache-2.0", "devDependencies": { "browserify": "^10.2.3", - "envify": "^3.4.0", "http-server": "^0.8.0", "matrix-react-sdk": "../../", "parallelshell": "^1.2.0", @@ -19,7 +18,7 @@ "watchify": "^3.2.1" }, "scripts": { - "build": "browserify --ignore olm -t [ envify --NODE_ENV production ] -t reactify index.js | uglifyjs -c -m -o bundle.js", + "build": "NODE_ENV=production browserify --ignore olm -t reactify index.js | uglifyjs -c -m -o bundle.js", "start": "parallelshell \"watchify --ignore olm -v -d -t reactify index.js -o bundle.js\" \"http-server\"" } }