Skip to content

Commit

Permalink
fix: add "types" field to conditional exports (#470)
Browse files Browse the repository at this point in the history
Co-authored-by: Altrue <[email protected]>
  • Loading branch information
TomAFrench and Altrue committed Jun 19, 2024
1 parent 1e0b5c1 commit 5f9a15f
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 @@ -24,18 +24,22 @@
"exports": {
".": {
"require": "./dist/index.js",
"types": "./dist/index.d.ts",
"default": "./index.mjs"
},
"./observable": {
"require": "./observable.js",
"types": "./observable.d.ts",
"default": "./observable.mjs"
},
"./register": {
"require": "./register.js",
"types": "./register.d.ts",
"default": "./register.mjs"
},
"./worker": {
"require": "./worker.js",
"types": "./worker.d.ts",
"default": "./worker.mjs"
}
},
Expand Down

0 comments on commit 5f9a15f

Please sign in to comment.