dynamically import socket.io-client when needed (#1631)
This commit is contained in:
@ -18,7 +18,7 @@ if (
|
||||
/\b(iPad|iPhone|iPod)\b/.test(navigator.userAgent) &&
|
||||
!matchMedia("(display-mode: standalone)").matches
|
||||
) {
|
||||
import("pwacompat");
|
||||
import(/* webpackChunkName: "pwacompat" */ "pwacompat");
|
||||
}
|
||||
|
||||
const SentryEnvHostnameMap: { [key: string]: string } = {
|
||||
|
Reference in New Issue
Block a user