dynamically import socket.io-client when needed (#1631)

This commit is contained in:
Aakansha Doshi
2020-05-26 20:51:03 +02:00
committed by GitHub
parent 5a64447adc
commit 5252726307
2 changed files with 8 additions and 3 deletions
+1 -1
View File
@@ -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 } = {