Skip to content

Commit c035504

Browse files
maxsbeltkunalkapadia
authored andcommitted
refactor(dependency): Remove lodash (#23)
1 parent 8bce27d commit c035504

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

config/env/index.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import path from 'path';
2-
import _ from 'lodash';
32

43
const env = process.env.NODE_ENV || 'development';
54
const config = require(`./${env}`);
@@ -8,6 +7,4 @@ const defaults = {
87
root: path.join(__dirname, '/..')
98
};
109

11-
_.assign(config, defaults);
12-
13-
export default config;
10+
export default Object.assign(defaults, config);

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@
4747
"helmet": "2.1.1",
4848
"http-status": "^0.2.0",
4949
"joi": "8.4.2",
50-
"lodash": "^4.0.1",
5150
"method-override": "^2.3.5",
5251
"mongoose": "^4.3.7",
5352
"morgan": "1.7.0",

0 commit comments

Comments
 (0)