Skip to content

Commit 7b08d5e

Browse files
committed
chore: Update pkg to use babel runtime deps
1 parent eab53c6 commit 7b08d5e

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.fatherrc.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
export default {
2-
cjs: "babel",
3-
esm: { type: "babel", importLibToEs: true },
2+
cjs: 'babel',
3+
esm: { type: 'babel', importLibToEs: true },
44
preCommit: {
55
eslint: true,
6-
prettier: true
7-
}
6+
prettier: true,
7+
},
8+
runtimeHelpers: true,
89
};

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@
7373
"typescript": "^3.9.2"
7474
},
7575
"dependencies": {
76+
"@babel/runtime": "^7.10.1",
7677
"classnames": "2.x",
7778
"raf": "^3.4.1",
7879
"rc-dropdown": "^3.1.0",

0 commit comments

Comments
 (0)