Skip to content

Commit

Permalink
chore: add "types" condition to "exports" map (#41)
Browse files Browse the repository at this point in the history
* Add types to exports map

* Update package.json
  • Loading branch information
jakebailey authored Jan 16, 2023
1 parent 41da7dc commit b3ca63d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,22 @@
],
"exports": {
".": {
"types": "./index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
"./json": {
"types": "./index.d.ts",
"import": "./json/index.mjs",
"require": "./json/index.js"
},
"./lite": {
"types": "./index.d.ts",
"import": "./lite/index.mjs",
"require": "./lite/index.js"
},
"./full": {
"types": "./index.d.ts",
"import": "./full/index.mjs",
"require": "./full/index.js"
},
Expand Down

0 comments on commit b3ca63d

Please sign in to comment.