We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bce27d commit c035504Copy full SHA for c035504
config/env/index.js
@@ -1,5 +1,4 @@
1
import path from 'path';
2
-import _ from 'lodash';
3
4
const env = process.env.NODE_ENV || 'development';
5
const config = require(`./${env}`);
@@ -8,6 +7,4 @@ const defaults = {
8
7
root: path.join(__dirname, '/..')
9
};
10
11
-_.assign(config, defaults);
12
-
13
-export default config;
+export default Object.assign(defaults, config);
package.json
@@ -47,7 +47,6 @@
47
"helmet": "2.1.1",
48
"http-status": "^0.2.0",
49
"joi": "8.4.2",
50
- "lodash": "^4.0.1",
51
"method-override": "^2.3.5",
52
"mongoose": "^4.3.7",
53
"morgan": "1.7.0",
0 commit comments