The documentation suggests:
Near the top of any JavaScript or TypeScript file that uses Realm, add the following import statement:
import * as RealmWeb from "realm-web";
However this is not valid Javascript and can not be interpreted by any ES6 compatible browser.
Bundlers like Rollup treat node modules as external dependencies and thus don’t resolve the sdk, leaving the import as is which results in an error in the browser.
Is it possible to include the SDK via script tag or by importing all required modules from a single esm js file rather than using npm?