Skip to content

Commit

Permalink
Merge pull request #6303 from qerub/use-loose-envify
Browse files Browse the repository at this point in the history
Use loose-envify instead of envify
  • Loading branch information
zpao committed Mar 21, 2016
2 parents 75e4ef1 + ecf824c commit 40c4635
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion grunt/config/browserify.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

'use strict';

var envify = require('envify/custom');
var envify = require('loose-envify/custom');
var grunt = require('grunt');
var UglifyJS = require('uglify-js');
var uglifyify = require('uglifyify');
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
"coveralls": "^2.11.6",
"del": "^2.0.2",
"derequire": "^2.0.3",
"envify": "^3.0.0",
"eslint": "1.10.3",
"eslint-plugin-react": "4.1.0",
"eslint-plugin-react-internal": "file:eslint-rules",
Expand All @@ -49,6 +48,7 @@
"gulp-flatten": "^0.2.0",
"gzip-js": "~0.3.2",
"jest-cli": "^0.9.0",
"loose-envify": "^1.1.0",
"platform": "^1.1.0",
"run-sequence": "^1.1.4",
"through2": "^2.0.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@
"node": ">=0.10.0"
},
"dependencies": {
"envify": "^3.0.0",
"fbjs": "^0.8.0-alpha.2"
"fbjs": "^0.8.0-alpha.2",
"loose-envify": "^1.1.0"
},
"browserify": {
"transform": [
"envify"
"loose-envify"
]
}
}

0 comments on commit 40c4635

Please sign in to comment.