From fbfe06618fe8e06e7731e9a753deedd6ff584c93 Mon Sep 17 00:00:00 2001 From: Borewit Date: Sat, 8 Feb 2025 14:58:35 +0100 Subject: [PATCH] =?UTF-8?q?Use=20the=20Node.js=20=E2=89=A5=20v22=20`module?= =?UTF-8?q?-sync`=20`exports`=20condition=20to=20link=20to=20ES=20Module?= =?UTF-8?q?=20entry=20points,=20enabling=20loading=20with=20`require`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 2d8d5fba..22cc12e9 100644 --- a/package.json +++ b/package.json @@ -16,18 +16,18 @@ "node": { "types": "./index.d.ts", "import": "./index.js", - "require": "./index.js" + "module-sync": "./index.js" }, "default": { "types": "./core.d.ts", "import": "./core.js", - "require": "./core.js" + "module-sync": "./core.js" } }, "./core": { "types": "./core.d.ts", "import": "./core.js", - "require": "./core.js" + "module-sync": "./core.js" } }, "sideEffects": false,