From 0c84ebdc990d996fb9bdb08788f076babb2c5d7d Mon Sep 17 00:00:00 2001 From: yosipy Date: Tue, 24 Sep 2024 18:09:16 +0900 Subject: [PATCH] fix: repair exports in package.json for node --- package.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 53f0141..23874ce 100644 --- a/package.json +++ b/package.json @@ -21,11 +21,11 @@ "module": "./dist/index.js", "types": "./dist/lib/index.d.ts", "exports": { - ".": { - "types": "./dist/lib/index.d.ts", - "import": "./dist/index.js", - "require": "./dist/index.umd.cjs" - } + "types": "./dist/lib/index.d.ts", + "import": "./dist/index.js", + "require": "./dist/index.umd.cjs", + "node": "./dist/index.umd.cjs", + "default": "./dist/index.umd.cjs" }, "files": [ "dist"