Skip to content

Commit

Permalink
fix: improve exports for typescript projects (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
bin-xu committed Apr 4, 2024
1 parent 2a0d3ee commit 575fa45
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,6 @@ dist

# TernJS port file
.tern-port

# mac DS_Store
.DS_Store
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"type": "module",
"exports": {
".": {
"types": "./index.d.ts",
"browser": "./browser.js",
"default": "./index.cjs"
}
Expand Down

0 comments on commit 575fa45

Please sign in to comment.