add socket-events import to entry point

socket-events aren't ever imported, if we don't do that however
webpack never actually sees any code that leads to it and skips
bundling it.

So for now, do an import that has the side effect of registering
all the events until we have a proper registration in place that's
a bit more sane to call
This commit is contained in:
Reto Brunner 2024-04-13 22:42:24 +02:00
parent 4d0474b897
commit 0311e5f836

View file

@ -7,6 +7,7 @@ import App from "../components/App.vue";
import storage from "./localStorage";
import {router} from "./router";
import socket from "./socket";
import "./socket-events"; // this sets up all socket event listeners, do not remove
import eventbus from "./eventbus";
import "./webpush";