Skip to content

Commit

Permalink
adjust exports to support non-ts environments
Browse files Browse the repository at this point in the history
  • Loading branch information
dmaskasky committed Jan 27, 2025
1 parent 8ad15b9 commit f3f25e7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
dist
jotai
node_modules
.DS_Store
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"./package.json": "./package.json",
".": {
"import": {
"types": "./src/index.ts",
"default": "./src/index.ts"
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/cjs/index.d.ts",
Expand Down

0 comments on commit f3f25e7

Please sign in to comment.