Ditch envify as it doesn't actually seem to work. Just setting the env var works fine though.

This commit is contained in:
David Baker 2015-08-14 14:11:47 +01:00
parent 4851adf3b0
commit 12e53f5046
1 changed files with 1 additions and 2 deletions

View File

@ -10,7 +10,6 @@
"license": "Apache-2.0", "license": "Apache-2.0",
"devDependencies": { "devDependencies": {
"browserify": "^10.2.3", "browserify": "^10.2.3",
"envify": "^3.4.0",
"http-server": "^0.8.0", "http-server": "^0.8.0",
"matrix-react-sdk": "../../", "matrix-react-sdk": "../../",
"parallelshell": "^1.2.0", "parallelshell": "^1.2.0",
@ -19,7 +18,7 @@
"watchify": "^3.2.1" "watchify": "^3.2.1"
}, },
"scripts": { "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\"" "start": "parallelshell \"watchify --ignore olm -v -d -t reactify index.js -o bundle.js\" \"http-server\""
} }
} }