diff --git a/.fatherrc.js b/.fatherrc.js index 81cd0147..912aa0aa 100644 --- a/.fatherrc.js +++ b/.fatherrc.js @@ -1,8 +1,9 @@ export default { - cjs: "babel", - esm: { type: "babel", importLibToEs: true }, + cjs: 'babel', + esm: { type: 'babel', importLibToEs: true }, preCommit: { eslint: true, - prettier: true - } + prettier: true, + }, + runtimeHelpers: true, }; diff --git a/package.json b/package.json index 94b8d0fe..54c4fd68 100644 --- a/package.json +++ b/package.json @@ -73,6 +73,7 @@ "typescript": "^3.9.2" }, "dependencies": { + "@babel/runtime": "^7.10.1", "classnames": "2.x", "raf": "^3.4.1", "rc-dropdown": "^3.1.0",