Skip to content

Commit 78e3c9f

Browse files
authored
fix: support modern esm and types resolution (#48)
1 parent 6ee85dd commit 78e3c9f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

package.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22
"name": "@stream-io/node-sdk",
33
"version": "0.3.0",
44
"description": "",
5+
"exports": {
6+
".": {
7+
"import": "./dist/index.es.js",
8+
"require": "./dist/index.cjs.js",
9+
"types": "./dist/index.d.ts"
10+
}
11+
},
512
"main": "dist/index.cjs.js",
613
"module": "dist/index.es.js",
714
"types": "dist/index.d.ts",

0 commit comments

Comments
 (0)