diff --git a/package.json b/package.json index 9db05a5a7..9d101ceb6 100644 --- a/package.json +++ b/package.json @@ -86,7 +86,10 @@ "prepack": "npm run compile" }, "browser": { - "./test/node.js": false + "./test/node.js": false, + "./build/esm/transports/xmlhttprequest.js": "./build/esm/transports/xmlhttprequest.browser.js", + "./build/esm/transports/websocket-constructor.js": "./build/esm/transports/websocket-constructor.browser.js", + "./build/esm/globalThis.js": "./build/esm/globalThis.browser.js" }, "repository": { "type": "git",