Closed snimshchikov closed 1 month ago
note: I didn't try to use it outside next
That's strange, internet suggests that this issue is related to exports order https://stackoverflow.com/questions/76127288/module-not-found-error-default-condition-should-be-last-one
But ThaUnknown's library seems to already have the correct order... https://github.com/ThaUnknown/webrtc-polyfill/blob/4b1a95a2a10f504e1aee5c88323d49b28dc0113c/package.json#L23
Fixed in webrtc-polyfill 1.1.7
Next.js doesn't like the new version