From f0b37fafc4ab88a59e4c069749b50d7c510a9bd2 Mon Sep 17 00:00:00 2001
From: Robin Tail <robin_tail@me.com>
Date: Thu, 17 Oct 2024 07:52:25 +0200
Subject: [PATCH] Add module-sync export condition (22.10+).

---
 package.json | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/package.json b/package.json
index 8491a5d9e..fe6535ed4 100644
--- a/package.json
+++ b/package.json
@@ -51,6 +51,10 @@
         "types": "./dist/index.d.ts",
         "default": "./dist/index.js"
       },
+      "module-sync": {
+        "types": "./dist/index.d.ts",
+        "default": "./dist/index.js"
+      },
       "require": {
         "types": "./dist/index.d.cts",
         "default": "./dist/index.cjs"
@@ -61,6 +65,10 @@
         "types": "./migration/index.d.ts",
         "default": "./migration/index.js"
       },
+      "module-sync": {
+        "types": "./migration/index.d.ts",
+        "default": "./migration/index.js"
+      },
       "require": {
         "types": "./migration/index.d.cts",
         "default": "./migration/index.cjs"