Skip to content

Commit

Permalink
feat: update core-js to v3 (#5894)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobmllr95 authored Oct 13, 2020
1 parent 1b27ce9 commit aeed981
Show file tree
Hide file tree
Showing 4 changed files with 239 additions and 300 deletions.
4 changes: 0 additions & 4 deletions .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@
"packageNames": ["bootstrap"],
"allowedVersions": "<5.0.0"
},
{
"packageNames": ["core-js"],
"allowedVersions": "<3.0.0"
},
{
"packageNames": ["highlight.js"],
"allowedVersions": "<10.0.0"
Expand Down
2 changes: 1 addition & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module.exports = api => {

const presets = []
if (!isDocs) {
presets.push(['@babel/env', { useBuiltIns: 'entry', corejs: { version: 2 } }])
presets.push(['@babel/env', { useBuiltIns: 'entry', corejs: { version: 3 } }])
}

return {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
"clean-css-cli": "^4.3.0",
"codemirror": "^5.58.1",
"codesandbox": "^2.2.1",
"core-js": ">=2.6.5 <3.0.0",
"core-js": "^3.6.5",
"cross-env": "^7.0.2",
"eslint": "^7.11.0",
"eslint-config-prettier": "^6.12.0",
Expand Down
Loading

0 comments on commit aeed981

Please sign in to comment.