-
Type: Improvement
-
Resolution: Fixed
-
Priority: Unknown
-
None
-
Affects Version/s: None
-
Component/s: Web
-
2966
-
SDK FY21-Q2
To make Realm Web consumable via a simple <script /> tag, we should publish a self-executing function ("iife").
From the Rollup.js guide:
> This format wraps the code so that it can be consumed via a script tag in the browser while avoiding unwanted interactions with other code. As we have an export, we need to provide the name of a global variable that will be created by our bundle so that other code can access our export via this variable.
We could publish using https://unpkg.com/