Skip to content

Commit 1b77c34

Browse files
committed
adjust exports to support non-ts environments
1 parent 33fdf9b commit 1b77c34

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@
44
dist
55
jotai
66
node_modules
7+
.DS_Store

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
"./package.json": "./package.json",
2222
".": {
2323
"import": {
24-
"types": "./src/index.ts",
25-
"default": "./src/index.ts"
24+
"types": "./dist/index.d.ts",
25+
"default": "./dist/index.js"
2626
},
2727
"require": {
2828
"types": "./dist/cjs/index.d.ts",

0 commit comments

Comments
 (0)