From 44090bd3087e5899827b53bb34540bf6ac13ba38 Mon Sep 17 00:00:00 2001 From: Martin Cajthaml Date: Sun, 22 Nov 2020 16:43:23 +0100 Subject: [PATCH] add @babel/runtime-corejs3 to peer dependencies --- .babelrc | 6 +++--- package.json | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.babelrc b/.babelrc index 3884b950..e3f5f607 100644 --- a/.babelrc +++ b/.babelrc @@ -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", ] diff --git a/package.json b/package.json index d59d890a..37a50c0e 100644 --- a/package.json +++ b/package.json @@ -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", @@ -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" }, @@ -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",