We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10e54fa commit 78ea00fCopy full SHA for 78ea00f
package.json
@@ -16,9 +16,16 @@
16
"url": "https://github.com/mongodb-js/mongodb-connection-string-url/issues"
17
},
18
"main": "lib/index.js",
19
+ "types": "lib/index.d.ts",
20
"exports": {
- "require": "./lib/index.js",
21
- "import": "./.esm-wrapper.mjs"
+ "require": {
22
+ "default": "./lib/index.js",
23
+ "types": "./lib/index.d.ts"
24
+ },
25
+ "import": {
26
+ "default": "./.esm-wrapper.mjs",
27
28
+ }
29
30
"files": [
31
"LICENSE",
@@ -58,4 +65,4 @@
58
65
"@types/whatwg-url": "^13.0.0",
59
66
"whatwg-url": "^14.1.0 || ^13.0.0"
60
67
}
61
-}
68
+}
0 commit comments