Closed bneijt closed 1 year ago
Just hit this bug as well. In my case it breaks the simple-peer package from working in SharedWorker.
EDIT: Temp fix
import Peer from "simple-peer/simplepeer.min.js";
But would be great to have this merged and fixed
Use globalThis if available.
Closes #29