Skip to content

Commit d8f003e

Browse files
authored
fix: override user agent in exports map (#2952)
Add a browser override in the exports map in case the "browsers" field is not picked up.
1 parent e48af80 commit d8f003e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/libp2p/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
},
5555
"./user-agent": {
5656
"types": "./dist/src/user-agent.d.ts",
57+
"browser": "./dist/src/user-agent.browser.js",
5758
"import": "./dist/src/user-agent.js"
5859
},
5960
"./version": {

0 commit comments

Comments
 (0)