aboutsummaryrefslogtreecommitdiff
path: root/src/VencordNative.ts
diff options
context:
space:
mode:
authorVen <vendicated@riseup.net>2022-11-28 13:37:55 +0100
committerGitHub <noreply@github.com>2022-11-28 13:37:55 +0100
commitbad96b78879f296d5b9e7adacb03756b0f58427a (patch)
tree4ddbc57a29e9b201bee1317f18110e8e1ad320e5 /src/VencordNative.ts
parent7a4402f1425ea9fdc6d2b3c985a4ce831f405937 (diff)
downloadVencord-bad96b78879f296d5b9e7adacb03756b0f58427a.tar.gz
Vencord-bad96b78879f296d5b9e7adacb03756b0f58427a.tar.bz2
Vencord-bad96b78879f296d5b9e7adacb03756b0f58427a.zip
Path aliases, better lazyWebpack (#268)
Diffstat (limited to 'src/VencordNative.ts')
-rw-r--r--src/VencordNative.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/VencordNative.ts b/src/VencordNative.ts
index c984870..3cd53e1 100644
--- a/src/VencordNative.ts
+++ b/src/VencordNative.ts
@@ -16,10 +16,9 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
+import IPC_EVENTS from "@utils/IpcEvents";
import { IpcRenderer, ipcRenderer } from "electron";
-import IPC_EVENTS from "./utils/IpcEvents";
-
function assertEventAllowed(event: string) {
if (!(event in IPC_EVENTS)) throw new Error(`Event ${event} not allowed.`);
}