Skip to content

Commit

Permalink
fix(package): add types entry to exports
Browse files Browse the repository at this point in the history
Allows Typescript project to use `nodenext` module resolution strategy.

```json
"compilerOptions": {
    "moduleResolution": "nodenext"
}
```
  • Loading branch information
PaulHax committed May 9, 2023
1 parent 2af3180 commit 55ab443
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"browser": "./dist/browser/index.js",
"import": "./dist/node/index.js",
"umd": "./dist/umd/itk-wasm.js",
Expand Down

0 comments on commit 55ab443

Please sign in to comment.