Skip to content

Commit 71baf57

Browse files
authored
fix: @babel/runtime-corejs3 (#38)
1 parent bf474b5 commit 71baf57

File tree

3 files changed

+30
-16
lines changed

3 files changed

+30
-16
lines changed

.fatherrc.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ export default {
1212
['babel-plugin-import', {
1313
libraryName: 'lodash',
1414
libraryDirectory: '',
15-
'camel2DashComponentName': false,
15+
camel2DashComponentName: false,
1616
}],
1717
// polyfill
1818
["@babel/plugin-transform-runtime", {
19-
"corejs": 3
19+
corejs: 3,
2020
}],
2121
],
2222
};

package-lock.json

Lines changed: 25 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mlz/doraemon",
3-
"version": "0.10.3",
3+
"version": "0.10.4",
44
"description": "项目常用但lodash又没有的工具函数集合,哆啦A梦般方便实用",
55
"main": "lib/index.js",
66
"module": "es/index.js",
@@ -70,7 +70,7 @@
7070
"@types/lodash": "^4.14.157",
7171
"dumi": "^1.0.8",
7272
"eslint": "^7.2.0",
73-
"father-build": "^1.17.2",
73+
"father-build": "^1.19.1",
7474
"gh-pages": "^3.0.0",
7575
"jest": "^26.0.1",
7676
"jsdom": "^16.3.0",
@@ -83,6 +83,7 @@
8383
"typescript": "^3.9.5"
8484
},
8585
"dependencies": {
86+
"@babel/runtime-corejs3": "^7.12.5",
8687
"lodash": "^4.17.19"
8788
}
8889
}

0 commit comments

Comments
 (0)