Browser build is used in CF workers environment
Browser build of algoliasearch being used in a Cloudflare Workers (or other edge) environment: the reporter's own root cause was `"moduleResolution": "Bundler"` in tsconfig.json resolving the wrong build. Changing moduleResolution fixed it on their end. If you hit XMLHttpRequest-is-not-defined style errors in a non-browser runtime, check your tsconfig moduleResolution first.
_Source: gh:algolia/algoliasearch-client-javascript#1548 (Algolia)_