Skip to content

Commit

Permalink
fix: support usage with "moduleResolution": "bundler" in tsconfig.json
Browse files Browse the repository at this point in the history
  • Loading branch information
faergeek committed Apr 19, 2023
1 parent 4465874 commit becd67d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
".": "./dist/index.mjs"
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.mjs"
}
},
"sideEffects": false,
"files": [
Expand Down

0 comments on commit becd67d

Please sign in to comment.