Skip to content

Commit 849d2b8

Browse files
committed
Disable the main export for browser
This is important for DHT's browser tests.
1 parent 05982a5 commit 849d2b8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/geoip-location/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
"main": "./dist/exports.cjs",
1111
"module": "./dist/exports.js",
1212
"types": "./dist/exports.d.ts",
13+
"browser": {
14+
"dist/exports.js": false
15+
},
1316
"files": [
1417
"dist",
1518
"!dist/src",

0 commit comments

Comments
 (0)