From 5f3d53226df3bd81dbd7a7f799e2d6fdc9b02a52 Mon Sep 17 00:00:00 2001 From: kyletsang <6854874+kyletsang@users.noreply.github.com> Date: Tue, 24 Jun 2025 21:53:37 -0700 Subject: [PATCH] fix: remove node from exports map --- package.json | 8 -------- test/tsconfig.json | 2 ++ 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 53811e8..21a9bd8 100644 --- a/package.json +++ b/package.json @@ -18,10 +18,6 @@ "exports": { "./package.json": "./package.json", ".": { - "node": { - "types": "./cjs/index.d.ts", - "default": "./cjs/index.js" - }, "require": { "types": "./cjs/index.d.ts", "default": "./cjs/index.js" @@ -32,10 +28,6 @@ } }, "./*": { - "node": { - "types": "./cjs/*.d.ts", - "default": "./cjs/*.js" - }, "require": { "types": "./cjs/*.d.ts", "default": "./cjs/*.js" diff --git a/test/tsconfig.json b/test/tsconfig.json index 3203625..0fbec01 100644 --- a/test/tsconfig.json +++ b/test/tsconfig.json @@ -3,6 +3,8 @@ "compilerOptions": { "jsx": "react-jsx", "lib": ["DOM", "ESNext"], + "moduleResolution": "bundler", + "module": "esnext", "rootDir": ".." }, "include": ["../src", "."]