From 2c61f00bf4fd7f299aeac6d1f798038e6b63ae0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2=20Ribaudo?= Date: Mon, 7 Mar 2022 18:19:10 +0100 Subject: [PATCH] Fix after rebase --- packages/babel-core/test/merge-map.js | 3 +-- packages/babel-plugin-proposal-unicode-sets-regex/package.json | 3 ++- .../babel-plugin-syntax-destructuring-private/package.json | 3 ++- packages/babel-plugin-syntax-unicode-sets-regex/package.json | 3 ++- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/packages/babel-core/test/merge-map.js b/packages/babel-core/test/merge-map.js index bc13bb35a99a..1ace285de4cc 100644 --- a/packages/babel-core/test/merge-map.js +++ b/packages/babel-core/test/merge-map.js @@ -1,5 +1,4 @@ -import _mergeSourceMap from "../lib/transformation/file/merge-map.js"; -const mergeSourceMap = _mergeSourceMap.default; +import mergeSourceMap from "../lib/transformation/file/merge-map.js"; describe("merge-map", () => { it("returns a plain js object", () => { diff --git a/packages/babel-plugin-proposal-unicode-sets-regex/package.json b/packages/babel-plugin-proposal-unicode-sets-regex/package.json index 16d427047cdb..71dfbf53661b 100644 --- a/packages/babel-plugin-proposal-unicode-sets-regex/package.json +++ b/packages/babel-plugin-proposal-unicode-sets-regex/package.json @@ -44,5 +44,6 @@ }, "engines": { "node": ">=6.9.0" - } + }, + "type": "module" } diff --git a/packages/babel-plugin-syntax-destructuring-private/package.json b/packages/babel-plugin-syntax-destructuring-private/package.json index 7efdfffc9c04..9c3da7a3f438 100644 --- a/packages/babel-plugin-syntax-destructuring-private/package.json +++ b/packages/babel-plugin-syntax-destructuring-private/package.json @@ -29,5 +29,6 @@ "engines": { "node": ">=6.9.0" }, - "author": "The Babel Team (https://babel.dev/team)" + "author": "The Babel Team (https://babel.dev/team)", + "type": "module" } diff --git a/packages/babel-plugin-syntax-unicode-sets-regex/package.json b/packages/babel-plugin-syntax-unicode-sets-regex/package.json index 052d7eb2e1ca..c3a58243fe49 100644 --- a/packages/babel-plugin-syntax-unicode-sets-regex/package.json +++ b/packages/babel-plugin-syntax-unicode-sets-regex/package.json @@ -44,5 +44,6 @@ }, "engines": { "node": ">=6.9.0" - } + }, + "type": "module" }