Skip to content

Commit 35f360d

Browse files
fracmakgajus
authored andcommitted
fix: transform lodash exports to allow tree-shaking (#100)
1 parent 6e0548b commit 35f360d

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.babelrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
}
88
},
99
"plugins": [
10+
"babel-plugin-lodash",
1011
"transform-export-default-name",
1112
"@babel/transform-flow-strip-types"
1213
],

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
"ajv-cli": "^3.0.0",
2222
"ajv-keywords": "^3.4.1",
2323
"babel-plugin-istanbul": "^5.1.4",
24+
"babel-plugin-lodash": "^3.3.4",
2425
"babel-plugin-transform-export-default-name": "^2.0.4",
2526
"chai": "^4.2.0",
2627
"chalk": "^2.4.2",

0 commit comments

Comments
 (0)