mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
dynamically import socket.io-client when needed (#1631)
This commit is contained in:
parent
5a64447adc
commit
5252726307
2 changed files with 8 additions and 3 deletions
|
@ -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 } = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue