From 13ab577cd8b7d0ba6c214b0d8eca692fd620e3e4 Mon Sep 17 00:00:00 2001 From: Charles Kornoelje <33156025+charkour@users.noreply.github.com> Date: Wed, 20 Dec 2023 22:23:50 -0500 Subject: [PATCH] fix export syntax (#23) --- package.json | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 334d611..21a386a 100644 --- a/package.json +++ b/package.json @@ -24,10 +24,13 @@ "author": "Charles Kornoelje", "type": "module", "exports": { - ".": { + "import": { "types": "./dist/index.d.ts", - "require": "./dist/index.cjs", - "import": "./dist/index.js" + "default": "./dist/index.js" + }, + "require": { + "types": "./dist/index.d.cts", + "default": "./dist/index.cjs" } }, "main": "./dist/index.cjs",