Skip to content

Commit 387fc57

Browse files
committed
Update exports
1 parent 49aa11c commit 387fc57

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

packages/mongodb-build-info/package.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,18 @@
3333
"directory": "packages/mongodb-build-info"
3434
},
3535
"license": "Apache-2.0",
36-
"main": "./dist/index.js",
36+
"main": "dist/index.js",
37+
"types": "./dist/index.d.ts",
38+
"exports": {
39+
"require": {
40+
"default": "./dist/index.js",
41+
"types": "./dist/index.d.ts"
42+
},
43+
"import": {
44+
"default": "./dist/.esm-wrapper.mjs",
45+
"types": "./dist/index.d.ts"
46+
}
47+
},
3748
"scripts": {
3849
"bootstrap": "npm run compile",
3950
"prepublishOnly": "npm run compile",

0 commit comments

Comments
 (0)