diff --git a/.fatherrc.js b/.fatherrc.js index 767a2abf..db0dff5f 100644 --- a/.fatherrc.js +++ b/.fatherrc.js @@ -1,8 +1,9 @@ export default { cjs: 'babel', esm: { type: 'babel', importLibToEs: true }, + runtimeHelpers: true, preCommit: { eslint: true, prettier: true, }, -}; +}; \ No newline at end of file diff --git a/package.json b/package.json index 807fb6a8..f9a5d6b2 100644 --- a/package.json +++ b/package.json @@ -63,6 +63,7 @@ "typescript": "^3.5.2" }, "dependencies": { + "@babel/runtime": "^7.20.0", "classnames": "^2.2.6", "rc-resize-observer": "^1.0.0", "rc-util": "^5.15.0"