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
Due to environmental API differences between Web Workers and Node's Worker Threads there are a bunch of undefined global variables that the Web Worker API expects. Things like global Worker in non-worker scripts/modules, global self/addEventListener inside instantiated workers etc.
To Reproduce
Prerender a worker.
Expected behavior
No error.
Bug occurs with:
wmr or wmr start (development)
wmr build (production) + --prerender
wmr serve
The text was updated successfully, but these errors were encountered:
Describe the bug
Due to environmental API differences between Web Workers and Node's Worker Threads there are a bunch of undefined global variables that the Web Worker API expects. Things like global
Worker
in non-worker scripts/modules, globalself/addEventListener
inside instantiated workers etc.To Reproduce
Prerender a worker.
Expected behavior
No error.
Bug occurs with:
wmr
orwmr start
(development)wmr build
(production) +--prerender
wmr serve
The text was updated successfully, but these errors were encountered: