mirror of
https://github.com/thelounge/thelounge
synced 2024-11-25 05:20:21 +00:00
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:
parent
4d0474b897
commit
0311e5f836
1 changed files with 1 additions and 0 deletions
|
@ -7,6 +7,7 @@ import App from "../components/App.vue";
|
||||||
import storage from "./localStorage";
|
import storage from "./localStorage";
|
||||||
import {router} from "./router";
|
import {router} from "./router";
|
||||||
import socket from "./socket";
|
import socket from "./socket";
|
||||||
|
import "./socket-events"; // this sets up all socket event listeners, do not remove
|
||||||
import eventbus from "./eventbus";
|
import eventbus from "./eventbus";
|
||||||
|
|
||||||
import "./webpush";
|
import "./webpush";
|
||||||
|
|
Loading…
Reference in a new issue