Skip to content

Commit

Permalink
add @babel/runtime-corejs3 to peer dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
vonschau committed Nov 22, 2020
1 parent e136c9d commit 44090bd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
"presets": [
"@babel/preset-react",
["@babel/preset-env", {
"useBuiltIns": "usage", // or "entry"
"corejs": 3,
"useBuiltIns": "usage",
"corejs": 3
}]
],
"plugins": [
["@babel/transform-runtime", {
"corejs": 3,
"corejs": 3
}],
"@babel/plugin-proposal-class-properties",
]
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "next-routes-with-locale",
"version": "1.8.0",
"version": "1.8.2",
"description": "Easy to use locale-based dynamic routes for Next.js",
"repository": "vonschau/next-routes-with-locale",
"main": "dist",
Expand Down Expand Up @@ -30,6 +30,7 @@
"path-to-regexp": "^6.2.0"
},
"peerDependencies": {
"@babel/runtime-corejs3": "^7.12.5",
"next": "^10.0.2",
"react": "^17.0.1"
},
Expand All @@ -40,7 +41,6 @@
"@babel/plugin-transform-runtime": "^7.12.1",
"@babel/preset-env": "^7.12.7",
"@babel/preset-react": "^7.12.7",
"@babel/runtime-corejs3": "^7.12.5",
"babel-eslint": "^10.1.0",
"babel-jest": "^26.6.3",
"concurrently": "^5.3.0",
Expand Down

0 comments on commit 44090bd

Please sign in to comment.