Skip to content

Commit

Permalink
feat(build): use core-js@3 (#2228)
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-lai authored Sep 18, 2020
1 parent 7f43023 commit f5c3138
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 64 deletions.
16 changes: 8 additions & 8 deletions babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ module.exports = {
{
"absoluteRuntime": false,
"corejs": 2,
"version": "^7.10.4"
"version": "^7.11.2"
}
],
"@babel/proposal-class-properties",
Expand All @@ -68,7 +68,7 @@ module.exports = {
"@babel/plugin-transform-runtime",
{
"corejs": 2,
"version": "^7.10.4"
"version": "^7.11.2"
}
],
"@babel/proposal-class-properties",
Expand All @@ -91,7 +91,7 @@ module.exports = {
]
},
"useBuiltIns": "entry",
"corejs": "2"
"corejs": 3
}
],
"@babel/preset-react"
Expand All @@ -100,9 +100,9 @@ module.exports = {
[
"@babel/plugin-transform-runtime",
{
"corejs": "2",
"corejs": "3",
"absoluteRuntime": false,
"version": "7.10.4"
"version": "7.11.2"
}
],
"@babel/plugin-proposal-class-properties",
Expand Down Expand Up @@ -136,7 +136,7 @@ module.exports = {
"node": "10"
},
"useBuiltIns": "entry",
"corejs": "2"
"corejs": 3
}
],
"@babel/preset-react"
Expand All @@ -145,9 +145,9 @@ module.exports = {
[
"@babel/plugin-transform-runtime",
{
"corejs": "2",
"corejs": "3",
"absoluteRuntime": false,
"version": "7.10.4"
"version": "7.11.2"
}
],
"@babel/plugin-proposal-class-properties",
Expand Down
83 changes: 30 additions & 53 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@
"react-transition-group": "^1.1.1",
"redux": "^3.x.x",
"reselect": "^4.0.0",
"swagger-client": "^3.10.12",
"swagger-ui": "^3.33.0",
"swagger-client": "^3.11.0",
"swagger-ui": "^3.34.0",
"traverse": "^0.6.6",
"whatwg-fetch": "^2.0.3",
"yaml-js": "^0.2.3"
Expand All @@ -103,7 +103,7 @@
"@babel/preset-env": "^7.10.2",
"@babel/preset-react": "^7.10.1",
"@babel/register": "^7.10.1",
"@babel/runtime-corejs2": "^7.10.4",
"@babel/runtime-corejs3": "^7.11.2",
"@jest/globals": "=26.4.1",
"@release-it/conventional-changelog": "=1.1.4",
"autoprefixer": "=9.8.6",
Expand Down

0 comments on commit f5c3138

Please sign in to comment.