From ee1e6f539997dad852271e43d9d13ed5ad4f6c51 Mon Sep 17 00:00:00 2001 From: Gabriel Elpidio De Andrade Date: Thu, 21 Dec 2023 21:10:22 -0400 Subject: [PATCH] fix: update exports in package.json --- package.json | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index e902c73..5d3a7dd 100644 --- a/package.json +++ b/package.json @@ -3,8 +3,13 @@ "version": "1.0.0", "description": "Create reusable Tailwind CSS components with React.", "type": "module", - "types": "./dist/index.d.ts", - "exports": "./dist/index.mjs", + "exports": { + ".": { + "import": "./dist/index.mjs", + "module": "./dist/index.mjs", + "types": "./dist/index.d.ts" + } + }, "scripts": { "test": "vitest", "build": "rm -rf dist && rollup -c",