Skip to content

Commit e6bd46d

Browse files
Revert "chore: update exports entry in package.json with type mappings" (#90)
1 parent a40bacf commit e6bd46d

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

package.json

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,9 @@
1616
"url": "https://github.com/mongodb-js/mongodb-connection-string-url/issues"
1717
},
1818
"main": "lib/index.js",
19-
"types": "lib/index.d.ts",
2019
"exports": {
21-
"require": {
22-
"default": "./lib/index.js",
23-
"types": "./lib/index.d.ts"
24-
},
25-
"import": {
26-
"default": "./.esm-wrapper.mjs",
27-
"types": "./lib/index.d.ts"
28-
}
20+
"require": "./lib/index.js",
21+
"import": "./.esm-wrapper.mjs"
2922
},
3023
"files": [
3124
"LICENSE",
@@ -65,4 +58,4 @@
6558
"@types/whatwg-url": "^13.0.0",
6659
"whatwg-url": "^14.1.0 || ^13.0.0"
6760
}
68-
}
61+
}

0 commit comments

Comments
 (0)