Skip to content

Commit 1235b16

Browse files
fix: change exports
1 parent d84d421 commit 1235b16

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

package.json

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,10 @@
33
"version": "11.0.4",
44
"description": "Resolve DID documents for ethereum addresses and public keys",
55
"main": "./lib.commonjs/index.js",
6+
"types": "./lib.commonjs/index.d.ts",
67
"exports": {
7-
"import": {
8-
"types": "./lib.esm/index.d.ts",
9-
"default": "./lib.esm/index.js"
10-
},
11-
"require": {
12-
"types": "./lib.commonjs/index.d.ts",
8+
".": {
9+
"import": "./lib.esm/index.js",
1310
"default": "./lib.commonjs/index.js"
1411
}
1512
},
@@ -19,7 +16,8 @@
1916
},
2017
"files": [
2118
"lib.commonjs",
22-
"lib.esm"
19+
"lib.esm",
20+
"src"
2321
],
2422
"author": "Pelle Braendgaard",
2523
"contributors": [

0 commit comments

Comments
 (0)