You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
To support all major browser the web worker used to run the compiler in the playground currently uses a bit of an ugly import system. This is because ES modules (i.e. js that uses the nice import syntax) is not supported inside of web workers in Firefox. It looks like this is about to change in the next upcoming version, so we should switch to the cleaner solution then.
The text was updated successfully, but these errors were encountered:
Current state: See pr #154. Firefox 111 has support for module workers but it is controlled by a flag which is disabled by default. It would probably be too much of an inconvenience for users to have to enable a flag to use our playground on a major browser, so I think we should shelve this until it has support without using a custom flag.
Describe the bug
To support all major browser the web worker used to run the compiler in the playground currently uses a bit of an ugly import system. This is because ES modules (i.e. js that uses the nice
import
syntax) is not supported inside of web workers in Firefox. It looks like this is about to change in the next upcoming version, so we should switch to the cleaner solution then.The text was updated successfully, but these errors were encountered: