Skip to content

Commit b5546b5

Browse files
using full lodash build
1 parent a2e2f6d commit b5546b5

File tree

3 files changed

+6
-9
lines changed

3 files changed

+6
-9
lines changed

package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,7 @@
4848
"rimraf": "^2.5.3"
4949
},
5050
"dependencies": {
51-
"lodash.identity": "^3.0.0",
52-
"lodash.isfunction": "^3.0.8",
53-
"lodash.isnil": "^4.0.0",
54-
"lodash.issymbol": "^4.0.1",
51+
"lodash": "^4.13.1",
5552
"reduce-reducers": "^0.1.0"
5653
}
5754
}

src/createAction.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import identity from 'lodash.identity';
1+
import identity from 'lodash/identity';
22

33
export default function createAction(type, payloadCreator, metaCreator) {
44
const finalPayloadCreator = typeof payloadCreator === 'function'

src/handleAction.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import isFunction from 'lodash.isfunction';
2-
import identity from 'lodash.identity';
3-
import isNil from 'lodash.isnil';
4-
import isSymbol from 'lodash.issymbol';
1+
import isFunction from 'lodash/isfunction';
2+
import identity from 'lodash/identity';
3+
import isNil from 'lodash/isnil';
4+
import isSymbol from 'lodash/issymbol';
55

66
export default function handleAction(type, reducers, defaultState) {
77
const typeValue = isSymbol(type)

0 commit comments

Comments
 (0)