From 09f7d01290a12626064e88ed727a49a5deb777de Mon Sep 17 00:00:00 2001 From: Mike Wu Date: Mon, 27 Nov 2023 13:33:23 +0900 Subject: [PATCH] fix: build error requiring default last --- package.json | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index d8608b45..a1a5d4ff 100644 --- a/package.json +++ b/package.json @@ -8,22 +8,22 @@ "exports": { ".": { "import": { - "default": "./index.js", - "types": "./index.d.ts" + "types": "./index.d.ts", + "default": "./index.js" }, "require": { - "default": "./dist/index.cjs", - "types": "./dist/index.d.cts" + "types": "./dist/index.d.cts", + "default": "./dist/index.cjs" } }, "./connect": { "import": { - "default": "./connect.js", - "types": "./connect.d.ts" + "types": "./connect.d.ts", + "default": "./connect.js" }, "require": { - "default": "./dist/connect.cjs", - "types": "./dist/connect.d.cts" + "types": "./dist/connect.d.cts", + "default": "./dist/connect.cjs" } } },