Skip to content

Commit

Permalink
fix(ses): fix types export for newer module resolutions
Browse files Browse the repository at this point in the history
Much like endojs#1803, this adds `types` conditional exports where appropriate.
  • Loading branch information
boneskull committed Nov 6, 2023
1 parent f746e99 commit 98c77cc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/ses/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,13 @@
"exports": {
".": {
"import": "./index.js",
"require": "./dist/ses.cjs"
"require": "./dist/ses.cjs",
"types": "./types.d.ts"
},
"./lockdown": {
"import": "./index.js",
"require": "./dist/ses.cjs"
"require": "./dist/ses.cjs",
"types": "./types.d.ts"
},
"./tools.js": "./tools.js",
"./package.json": "./package.json"
Expand Down

0 comments on commit 98c77cc

Please sign in to comment.