Skip to content

Commit ee1e6f5

Browse files
fix: update exports in package.json
1 parent 8a86fb9 commit ee1e6f5

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

package.json

+7-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,13 @@
33
"version": "1.0.0",
44
"description": "Create reusable Tailwind CSS components with React.",
55
"type": "module",
6-
"types": "./dist/index.d.ts",
7-
"exports": "./dist/index.mjs",
6+
"exports": {
7+
".": {
8+
"import": "./dist/index.mjs",
9+
"module": "./dist/index.mjs",
10+
"types": "./dist/index.d.ts"
11+
}
12+
},
813
"scripts": {
914
"test": "vitest",
1015
"build": "rm -rf dist && rollup -c",

0 commit comments

Comments
 (0)