Skip to content

Commit 2ba69ae

Browse files
committed
fix: update package.json exports to use import and require keys
1 parent 06b4e0d commit 2ba69ae

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
"types": "./lib/typescript/src/index.d.ts",
88
"exports": {
99
".": {
10-
"source": "./src/index.tsx",
11-
"types": "./lib/typescript/src/index.d.ts",
12-
"default": "./lib/module/index.js"
10+
"import": "./lib/module/index.js",
11+
"require": "./lib/module/index.js",
12+
"types": "./lib/typescript/src/index.d.ts"
1313
},
1414
"./package.json": "./package.json"
1515
},

0 commit comments

Comments
 (0)